Skip to content

Commit

Permalink
[CI Debug] pip workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
darioizzo committed Mar 7, 2018
1 parent 4ff4bd4 commit c99c0d4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tools/install_appveyor.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,10 @@ def run_command(raw_command, directory=None, verbose=True):
# Install pip and deps.
wget(r'https://bootstrap.pypa.io/get-pip.py', 'get-pip.py')
run_command(pinterp + ' get-pip.py')
if is_release_build:
# call pip via python, workaround to avoid path issues when calling pip from win
# (https://github.com/pypa/pip/issues/1997)
run_command(pinterp + r' -m pip install twine')
# if is_release_build:
# call pip via python, workaround to avoid path issues when calling pip from win
# (https://github.com/pypa/pip/issues/1997)
run_command(pinterp + r' -m pip install twine')

# Set the path so that the precompiled libs can be found.
os.environ['PATH'] = os.environ['PATH'] + r';c:\\local\\lib'
Expand Down Expand Up @@ -183,6 +183,6 @@ def run_command(raw_command, directory=None, verbose=True):
run_command(pinterp + r' -m pip install dist\\' + os.listdir('dist')[0])
run_command(
pinterp + r' -c "from pyaudi import test; test.run_test_suite()"', directory=r'c:\\')
if is_release_build:
run_command(twine + r' upload -u darioizzo dist\\' +
os.listdir('dist')[0])
# if is_release_build:
run_command(twine + r' upload -u darioizzo dist\\' +
os.listdir('dist')[0])

0 comments on commit c99c0d4

Please sign in to comment.