KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Using the following command: pip install -r requirements.txt -d sdists/ You can easily create an archive of requirements for distributing with your project. This works great if your requirements look like this: Django==1.3.1 django-tagging==0.3.1 django-robots==0.6.1 You can then install those requirements without touching PyPI at all, like so: pip install -r requirements.txt --find-links sdists/ --no-index Is it possible to use the same method for --editable requirements? E.g.: -e hg+https://bitbucket.org/ubernostrum/django-contact-form/@1d3791fa4dfb#egg=django-contact-form As far as I can tell, pip install -d happily downloads editable requirements and creates an sdist for you, but pip install --find-links does not have any way to match up the downloaded sdist with the associated line in your requirements file, so it ignores the downloaded sdist and continues checking out the code from VCS as usual.
Tags (comma-separated)
Save Edits
Cancel