Tres Seaver <tsea...@palladion.com> writes: > 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).
I can see the logic when it's explained, but that doesn't make it not a bug IMO. That's a pretty astonishing behaviour: a declaration in the setup for one package has a mystifying effect on the setup of other packages. I won't press the point. Hopefully, though, someone does consider it a bug worth fixing. -- \ “To have the choice between proprietary software packages, is | `\ being able to choose your master. Freedom means not having a | _o__) master.” —Richard M. Stallman, 2007-05-16 | Ben Finney _______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig