pip ignores dependency_links in setup.py

This answer should help. In a nutshell, you need to specify the version (or “dev”) for the #egg=python-s3 so it looks like #egg=python-s3-1.0.0.

Updates based on @Cerin’s comment:

  • Pip 1.5.x has a flag to enable dependency-links processing: --process-dependency-links. I haven’t tested it because I agree with the point below.
  • This discussion seems to indicate that using dependency-links for pip is a bad practice. Although this feature was enlisted for deprecation, it’s not anymore. There’s a valid use case for private packages.

Leave a Comment