Signed-off-by: Dan Ryan <dan@danryan.co>
Fix variable references
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix variable references
Signed-off-by: Dan Ryan <dan@danryan.co>
Switch to powershell for windows virtualenv creation
Signed-off-by: Dan Ryan <dan@danryan.co>
use python version as path
Signed-off-by: Dan Ryan <dan@danryan.co>
use python version as path
Signed-off-by: Dan Ryan <dan@danryan.co>
swap variable name for python exe
Signed-off-by: Dan Ryan <dan@danryan.co>
add fallback for python exe
Signed-off-by: Dan Ryan <dan@danryan.co>
fix python variable setting
Signed-off-by: Dan Ryan <dan@danryan.co>
fix python variable setting
Signed-off-by: Dan Ryan <dan@danryan.co>
Use variable susbstitution for python executable location
Signed-off-by: Dan Ryan <dan@danryan.co>
Use activate script properly
Signed-off-by: Dan Ryan <dan@danryan.co>
Fix floating quote in python version
Signed-off-by: Dan Ryan <dan@danryan.co>
Don't block on safety call in python 2 as it overwrites output for some reason
Signed-off-by: Dan Ryan <dan.ryan@xyleminc.com>
Don't block on pipenv graph either
Signed-off-by: Dan Ryan <dan@danryan.co>
Check command return code instead of calling `block`
Signed-off-by: Dan Ryan <dan@danryan.co>
Don't load json after its already loaded
Signed-off-by: Dan Ryan <dan@danryan.co>
Wait on return code before checking contents
Signed-off-by: Dan Ryan <dan@danryan.co>
- Resolve all VCS and non-piptools-resolveable deps in venv
- Implement pep517 for resolution of non-setuptools builds
- Add full support for the new dependency link format
- Fix breakages from pip 19* rollout and subsequent setuptools breakage
Signed-off-by: Dan Ryan <dan.ryan@xyleminc.com>
Adds support for the --pypi-mirror command line parameter and the
PIPENV_PYPI_MIRROR environment variable for most pipenv operations.
This permits pipenv to function without pypi.org, which is necessary for
users:
1. behind restrictive networks
2. facing strict artifact sourcing policies
3. experiencing poor performance connecting to pypi.org
4. who've configured a local cache for performance reasons
When specified, the value of this parameter replaces all instances of
pypi.org and pypi.python.org within pipenv operations without modifying
or requring the modification of Pipfiles.
- Resolves#2075