Template updates post ssz and ethabi (#82)

* add updates found when merging template with py-ssz and eth-abi

* add wheel and wheel-windows to ci and reorg
This commit is contained in:
Paul Robinson
2023-04-19 14:00:40 -06:00
committed by pacrob
parent 3314247037
commit 484b6b55cd
8 changed files with 170 additions and 61 deletions

31
tox.ini
View File

@ -2,6 +2,8 @@
envlist=
py{37,38,39,310,311}-core
py{37,38,39,310,311}-lint
py{37,38,39,310,311}-wheel
py311-wheel-windows
docs
[isort]
@ -54,3 +56,32 @@ commands: {[common-lint]commands}
[testenv:py{37,38,39,310,311}-lint]
extras: {[common-lint]extras}
commands: {[common-lint]commands}
[testenv:py{37,38,39,310,311}-wheel]
deps=
wheel
build[virtualenv]
allowlist_externals=
/bin/rm
/bin/bash
commands=
python -m pip install --upgrade pip
/bin/rm -rf build dist
python -m build
/bin/bash -c 'python -m pip install --upgrade "$(ls dist/<MODULE_NAME>-*-py3-none-any.whl)" --progress-bar off'
python -c "import <MODULE_NAME>"
skip_install=true
[testenv:py311-wheel-windows]
deps=
wheel
build[virtualenv]
allowlist_externals=
bash.exe
commands=
python -m pip install --upgrade pip
bash.exe -c "rm -rf build dist"
python -m build
bash.exe -c 'python -m pip install --upgrade "$(ls dist/<MODULE_NAME>-*-py3-none-any.whl)" --progress-bar off'
python -c "import <MODULE_NAME>"
skip_install=true