[Distutils] Adding entry points into Distutils ?
P.J. Eby
pje at telecommunity.com
Tue May 5 23:34:00 CEST 2009
At 09:27 PM 5/5/2009 +0100, Floris Bruynooghe wrote:
>But how can a "python setup.py install" know where to find this
>configuration file to add it's plugin?
It doesn't. The whole point of having two stages -- discovery and
activation -- is that discovery is an automatic side-effect of
installation, whereas activation can be controlled by an
application-specific policy or configuration file.
Entry points (as currently implemented) are discovery; the
application then determines which entry points to actually load or
invoke, using its own configuration (or command-line options, or menu
selections, or automatic policy, or whatever else).
More information about the Distutils-SIG
mailing list