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 c9cc22b commit 4ff4bd4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ artifacts:
# Enable this to be able to login to the build worker. You can use the
# `remmina` program in Ubuntu, or Microsoft Remote Desktop app in osx
# use the login information that the line below prints into the log.
on_finish:
- ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
#on_finish:
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
6 changes: 4 additions & 2 deletions tools/install_appveyor.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +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:
run_command(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

0 comments on commit 4ff4bd4

Please sign in to comment.