Reputation: 23887
So I've written a small python package. I'd like to set it up to be installed with pip. But it depends on another package (odeintw to be precise), which as far as I can tell cannot be installed with pip.
My options seem to be
Is there an alternative way to get odeintw installed by pip?
Upvotes: 1
Views: 122
Reputation: 2088
As per this document:
You can add non-pip installable packages as:
setup(
...
dependency_links=['http://github.com/user/repo/tarball/master#egg=package-1.0']
...
)
Upvotes: 1
Reputation: 1955
I was able to install the package you linked to with pip
by using:
sudo pip install git+https://github.com/WarrenWeckesser/odeintw
Alternatively you can make a file requirements.txt
in your package directory with the contents:
git+https://github.com/WarrenWeckesser/odeintw
and then cd to the directory and sudo pip install -r requirements.txt
Upvotes: 1