mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
29641fda69f54211aedb03a8bbdde46c6e6f4891
PipEnv: Pip for Humans™
=======================
Experimental work in progress.
- automatically adds things to pipfile when you install them
- automatically creates a pipfile
- automatically creates a virtualenv
::
$ pipenv
Usage: pipenv.py [OPTIONS] COMMAND [ARGS]...
Options:
--version Show the version and exit.
--help Show this message and exit.
Commands:
freeze
install
init
py
purge
uninstall
venv
where
$ pipenv where
Pipfile found at /Users/kennethreitz/repos/project/Pipfile. Considering this to be the project home.
$ pipenv where --venv
Virtualenv location: /Users/kennethreitz/repos/project/.venv
$ pipenv venv --bare
source /Users/kennethreitz/repos/project/.venv/bin/activate
$ pipenv init
Creating a Pipfile for this project...
Pipfile found at /Users/kennethreitz/repos/project/Pipfile. Considering this to be the project home.
Creating a virtualenv for this project...
...
Virtualenv location: /Users/kennethreitz/repos/project/.venv
Pipfile.freeze not found, creating...
...
To activate this project's virtualenv, run the following:
$ source /Users/kennethreitz/repos/project/.venv/bin/activate
$ python pipenv.py install requests --dev
Installing requests...
...
Adding requests to Pipfile...
# Generating Pipfile.lock
$ pipenv freeze
Generating requirements.txt from Pipfile.lock
Languages
Python
99.8%