[Distutils] development egg and --find-links easy_install option
Manlio Perillo
manlio.perillo at gmail.com
Sat May 22 17:55:16 CEST 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi.
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkv3/mQACgkQscQJ24LbaUSpbACfcp0gFJhxtlZpjR5D5XQg7q8J
FKwAn1ddZhdzQorR+CxGSt30sW+qRKuW
=pJ0V
-----END PGP SIGNATURE-----
More information about the Distutils-SIG
mailing list