Skip to content

Commit 63ee955

Browse files
committed
python version seperation
1 parent 31a40e1 commit 63ee955

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

build.sh

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,18 @@
33
# builds our packages for pypi
44

55
source env/bin/activate
6-
pip install -r requirements.txt
6+
pip2.7 install -r requirements-2.txt
7+
pip3.7 install -r requirements-3.txt
78

89
echo "Removing any previous build dir..."
910
rm -rf build
1011
echo "Removing any previous dist dir..."
1112
rm -rf dist
1213

13-
echo "Building for python 2.x..."
14-
python setup.py sdist bdist_wheel
15-
echo "Building for python 3.x..."
16-
/usr/local/bin/python3.5 setup.py sdist bdist_wheel
14+
echo "Building for python 2.7..."
15+
python2.7 setup.py sdist bdist_wheel
16+
echo "Building for python 3.7+..."
17+
python3.7 setup.py sdist bdist_wheel
1718

1819
echo "Running twine upload..."
1920
twine upload dist/*

0 commit comments

Comments
 (0)