Search code examples
pythonpython-2.7pipsetuptoolsdistutils

Dependencies from git aren't being installed?


p0 depends on p1, which in turn depends on p2. p2 isn't getting installed, everything else is.

I.e.: I get an ImportError in reference to p2 when I deploy p0 via Heroku.

Note that all have lines in their requirements.txt like so:

git+http://github.com/project/package

Additionally I have tried putting everything in install_requires and dependency_links, but that failed to find the pacakge on GitHub. Tried even to write my own deps_installer().


Solution

  • Looks like the issue was with:

    package_dir
    

    In my setuptool.setup function call.

    Removing that keyword argument completely resolved my issue.

    Additionally I put all my requirements in p0's "requirements.txt".