-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a custom install_command to work around tox-dev/tox#786.
- Loading branch information
Showing
2 changed files
with
20 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
""" | ||
Upgrade to pip 10 before installing requirements, working | ||
around error reported in tox-dev/tox#786 | ||
""" | ||
|
||
import sys | ||
import subprocess | ||
import shlex | ||
|
||
|
||
def main(): | ||
subprocess.check_call(shlex.split( | ||
'python -m pip install git+https://github.com/pypa/pip@release/10.0.0' | ||
)) | ||
subprocess.check_call(shlex.split( | ||
'python -m pip install') + sys.argv[1:]) | ||
|
||
|
||
__name__ == '__main__' and main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters