Skip to content

Commit 68549d2

Browse files
committed
call twine with python -m, call find_version earlier
1 parent 2ede761 commit 68549d2

File tree

4 files changed

+2
-3
lines changed

4 files changed

+2
-3
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ matrix:
8383
before_install:
8484
- source multibuild/common_utils.sh
8585
- source multibuild/travis_steps.sh
86+
- python find_version.py
8687
- before_install
8788

8889
install:

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,4 @@ artifacts:
108108
name: wheels
109109

110110
deploy_script:
111-
- if "%APPVEYOR_REPO_TAG%"=="true" (twine upload -u %USER% -p %PASS% -r pypitest dist/*) else (echo "Tag not set, deployment skipped.")
111+
- if "%APPVEYOR_REPO_TAG%"=="true" (python -m twine upload -u %USER% -p %PASS% -r pypitest dist/*) else (echo "Tag not set, deployment skipped.")

travis/build-wheels-osx.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ fi
2424
echo 'Begin our build'
2525
ls -lh
2626

27-
python ./find_version.py
2827
pip install -r requirements.txt
2928

3029
echo 'Config make'

travis/build-wheels.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ for PYBIN in /opt/python/cp$PYTHON_VERSION*/bin; do
1111
echo 'PWD : '$PWD
1212
echo 'PYBIN: '$PYBIN
1313

14-
$PYBIN/python ./find_version.py
1514
$PYBIN/pip install -r requirements.txt
1615

1716
# Begin build

0 commit comments

Comments
 (0)