[Distutils] development egg and --find-links easy_install option

Manlio Perillo manlio.perillo at gmail.com
Sat May 22 17:55:16 CEST 2010

Hash: SHA1


Reading easy_install documentation I recently discovered the
- --find-links option, and I'm starting to experiment with it in order to
create a tar archive with all the dependencies of a Python package.

This is very useful when I have to deploy a package on a shared hosting,
where can be a problem to compile extension modules.

Unfortunately in my setup I use some packages (the main package being
installed and one of its install requirements) in "develop" mode.
These packages, moreover, are not available on PyPi.

To summarize, I have a package A (to be installed in develop mode), that
depends on package B, installed in develop mode.
B, then, have additional install requirements, as "normal" packages.
A have additional install requirements, as "normal" packages.

When I run, from A source directory, the command:
  python setup.py develop -maxd deps/

an A.egg-link file is correctly copied to the `deps` directory.
However, when processing B package, I get:

  Skipping development or system egg: B 0.1dev
  Reading http://pypi.python.org/simple/B/

Using the `-H none` option, will skip processing of B package and
additional dependencies (including direct A dependencies).

What is the reason why a development egg is being skipped?

What I want is that in `deps` directory should copied all "normal"
packages, as eggs, that are install requirements for package A or,
indirectly, package B.

Is this possible?

Thanks  Manlio
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


More information about the Distutils-SIG mailing list