Pankaj Jain
Pankaj Jain

Reputation: 11

install python package on heroku without pypi support

I am trying install a Django app on Heroku. My app needs pyke3. The recommended way for installing pyke3 is to download pyke3-1.1.1.zip https://sourceforge.net/projects/pyke/files/pyke/1.1.1/ and then install (into a virtualenv if desired) using the instructions on http://pyke.sourceforge.net/about_pyke/installing_pyke.html. How do I install pyke3 on heroku? Is there a way to add this to the requirements.txt, and how will heroku know where to get the pyke3 zip file?

Upvotes: 0

Views: 307

Answers (1)

xyres
xyres

Reputation: 21734

From pip's docs:

pip supports installing from PyPI, version control, local projects, and directly from distribution files.

So, pip supports installing packages directly from links. All you have to do is put the link to the required package in your requirements file.

To download the package pyke3-1.1.1.zip, add this link in your requirements:

https://sourceforge.net/projects/pyke/files/pyke/1.1.1/pyke3-1.1.1.zip/download

Upvotes: 1

Related Questions