I have a script that creates a virtualenv
, installs distribute
and pip
in it and then optionally clones a git
repo.
Now I have the project I will be working on, installed. But its dependencies are not installed. How can I make pip
install all the dependencies as if I have issued a pip install MyApp
?
EDIT: Appareantly my question is a duplicate of this one.
Not exactly sure but pip install -e .
seems to do what I want without too many extra stuff lying around. I'd prefer if my code wasn't linked from site-packages
though.
pip -E VENV_DIR pip
as pip by default installs pip and distribute in the newly created environment? – Reconstructivepython setup.py egg_info; pip install -r *.egg-info/requires.txt; rm -rf *.egg-info/
– Telekinesis