File tree Expand file tree Collapse file tree 5 files changed +26
-12
lines changed Expand file tree Collapse file tree 5 files changed +26
-12
lines changed Original file line number Diff line number Diff line change 1
- include LICENSE
2
1
include VERSION
3
2
include README.md
4
- include requirements.txt
5
3
6
4
recursive-exclude * __pycache__
7
5
recursive-exclude * *.py[co]
8
6
9
7
recursive-include ens/specs *
10
8
11
- recursive-include ethpm/assets/ *
9
+ recursive-include ethpm/assets *
12
10
recursive-include ethpm/ethpm-spec/examples *
13
11
recursive-include ethpm/ethpm-spec/spec *
Original file line number Diff line number Diff line change
1
+ Test wheel build in separate directory and virtualenv
Original file line number Diff line number Diff line change 79
79
allowlist_externals =
80
80
/bin/rm
81
81
/bin/bash
82
+ /bin/mktemp
82
83
commands =
83
- pip install --upgrade pip
84
- /bin/rm -rf build dist
85
- python -m build
86
- /bin/bash -c ' pip install --upgrade "$(ls dist/web3-*-py3-none-any.whl)" --progress-bar off'
87
- python -c " from web3 import Web3"
84
+ /bin/bash {toxinidir}/web3/scripts/release/test_wheel_install.sh
88
85
skip_install =true
89
86
90
87
[testenv:py311-wheel-cli-windows]
94
91
allowlist_externals =
95
92
bash.exe
96
93
commands =
97
- bash.exe -c " rm -rf build dist"
98
- python -m build
99
- bash.exe -c ' pip install --upgrade "$(ls dist/web3-*-py3-none-any.whl)" --progress-bar off'
100
- python -c " from web3 import Web3"
94
+ bash.exe {toxinidir}/web3/scripts/release/test_windows_wheel_install.sh
101
95
skip_install =true
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ set -e
4
+ rm -rf build dist
5
+ python -m build
6
+ cd $( mktemp -d)
7
+ python -m venv venv-test
8
+ source venv-test/bin/activate
9
+ pip install --upgrade " $( ls ~ /repo/dist/web3-* -py3-none-any.whl) "
10
+ python -c " import web3"
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ bash.exe -c " set -e"
4
+ bash.exe -c " rm -rf build dist"
5
+ python -m build
6
+ bash.exe -c " export temp_dir=$( mktemp -d) "
7
+ cd $temp_dir
8
+ python -m venv venv-test
9
+ bash.exe -c " source venv-test/Scripts/activate"
10
+ bash.exe -c ' pip install --upgrade "$(ls /c/Users/circleci/project/web3py/dist/web3-*-py3-none-any.whl)" --progress-bar off'
11
+ python -c " from web3 import Web3"
You can’t perform that action at this time.
0 commit comments