-
-
Notifications
You must be signed in to change notification settings - Fork 258
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automation for embedding of virtualenv 16.7.10.
- Loading branch information
Showing
3 changed files
with
19 additions
and
0 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,8 @@ | ||
The [Venv](venv.py) command uses the [virtualenv](https://github.com/pypa/virtualenv) project to | ||
suppport creating Python 2.7 virtual environments (The Python `venv` stdlib module was added only | ||
in Python 3). | ||
|
||
We use the last virtualenv version to support Python 2.7, embedding it as the | ||
[virtualenv_16.7.10_py](virtualenv_16.7.10_py) resource via the | ||
[embed_virtualenv.sh](/scripts/embed_virtualenv.sh) script. | ||
|
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,10 @@ | ||
#!/usr/bin/env bash | ||
|
||
VIRTUALENV_16_7_10_RELEASE_SHA=941d218accf5e8b5672b3c528a73f7d5e2aa18bb | ||
|
||
cd $(git rev-parse --show-toplevel) | ||
|
||
curl --fail -L \ | ||
https://raw.githubusercontent.com/pypa/virtualenv/${VIRTUALENV_16_7_10_RELEASE_SHA}/virtualenv.py \ | ||
> pex/tools/commands/virtualenv_16.7.10_py | ||
|
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