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

On 01/19/2015 04:57 PM, Ben Finney wrote:
> My current position would be: that's a bug in Setuptools, it should
> not be applying entry points defined for package FOO when running the
> setup for some other package BAR.
> 
> Is that right? Should I report a bug against Setuptools for this 
> behaviour?

Notabug.  setuptools itself is extensible by means of entry points.  Both
entry points in your example (as cited by Marius) demonstrate that:  one
adds support for a new keyword argument to 'setup()'[1], and the other
defines a new "writer" for 'egg-info'[2].  By design, both of those are
supposed to be loaded / available for any invocation of 'setup()' in a
Python where the are installed (not merely for packages which "mention"
them).


[1]
https://pythonhosted.org/setuptools/setuptools.html#adding-setup-arguments

[2]
https://pythonhosted.org/setuptools/setuptools.html#adding-new-egg-info-files


Tres.
- -- 
===================================================================
Tres Seaver          +1 540-429-0999          tsea...@palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAlS9jXEACgkQ+gerLs4ltQ6L8gCghmv+gf1jTuesgd7+LU9iERbN
ofIAn3KEQjxt5Zmcxrr1oi3RpW8dB1ci
=59fE
-----END PGP SIGNATURE-----

_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to