[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re: Python Egg Guidelines across distros



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

From: Gael Varoquaux <gael.varoquaux@normalesup.org>

To sum up, the problem is that setup tools is not designed to interact
with the outside world. It does not provide an api for listing
dependencies, does all kind of magic during the install, and insists for
doing everything itself, and not exposing the info it has to the external
world.
[...]
I also totally strip the Python source from anything relevant to
setuptools, this way I am sure there is not setuptools introduced magic
in them. Setuptools is only a build requirement.

======

Very interesting.  I quite agree with you that the setuptools API is
highly deficient.  And my attempt to point out one deficiency was
dismissed as the way things are supposed to be by the author.  I think a
redesign and rewirte of setuptools (or at least, the pkg_resource.py
portion of setuptools) would be a good project for someone.

However, I don't agree that setuptools is only a build requirement.
setuptools makes writing plugins for a package much easier than starting
from scratch.

Also, eggs (as in the egg metadata that comes with the packages; not the
optional pseudo-jar copying zip format) may be duplication but it is not
needless duplication.  Elf shared libraries and packages contain
duplicate information but we don't call for removal of versioning
information from either of those because it's provided by the other.
Package versioning is useful at install time.  Shared library versioning
and egg versioning are useful at runtime.  Unfortunately, the rest of
the setuptools baggage (with easy_install and friends) tends to throw up
a smoke screen around this useful aspect of the format.

- -Toshio
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFG5g5JX6yAic2E7kgRAueBAJ9CksxJhB/Ck739NrL5cUgIjWbCpQCfV6Yk
QagLuG1kDKo8bmXynlxBpa8=
=KJne
-----END PGP SIGNATURE-----



Reply to: