lonewaft
lonewaft

Reputation: 890

How to include non PyPi packages for virtualenv requirements file?

Is there a way to include packages/modules not available through pip in the requirements file so that the project is portable?

The default version of lxml seems to have issues with pypy so I need to use a custom fork.

The problem is I need Heroku (where I deploy this application) to use a custom version of lxml and not the one that's available via pip. Is there any way to do this?

Upvotes: 0

Views: 85

Answers (1)

Alexandre
Alexandre

Reputation: 4602

You can by using the listed git packages syntax, you would need to add the following line to your requirements.txt

-e git://github.com/aglyzov/lxml.git#egg=lxml

Upvotes: 2

Related Questions