[Distutils] entry points
Barry Warsaw
barry at python.org
Wed Jul 25 01:06:21 CEST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Jul 24, 2007, at 6:09 PM, Phillip J. Eby wrote:
> At 05:21 PM 7/24/2007 -0400, Barry Warsaw wrote:
>> Why do entry point values use a colon to separate the module from the
>> callable?
>
> First off, an entry point need not be callable in the general
> case. Classes and arbitrary data structures can be entry points,
> too. Heck, Chandler parcel entry points are just a module name.
Fair enough. That wasn't entirely evident from the documentation,
but maybe I wasn't looking in the right place or didn't grok what I
was reading. ;)
By now I've gotten my first plugin to work, and it's really quite
awesome. Between setuptools and zope.interface, I'm just very
psyched that I now have a principled and standard way of providing
extensibility for my application.
One thing I think will have to be done at some point is to
consolidate all the documentation on the telecommunity site. I find
myself with three open browser tabs (setuptools, PkgResources, and
EasyInstall). There's /a lot/ of information there. I vote the PSF
pays for a tech writer to put it all together into a single cohesive
manual.
Thanks for the explanation regarding the choice of ':'. I suspected
you had a good reason for it. :)
- -Barry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
iQCVAwUBRqaF7nEjvBPtnXfVAQL85wQArnlzXZCd20QhGfk53ac9F0JB1tj0FcYP
JMofaetnelHti/Fh/uMEK+S4Uxf1RnEwQwixXvk9YXvGwlVnrZINPELlx57FB4tB
xpNlcwtkBRa0HCTP1LtyniQ0h+4PbHIHeNmvFskQ7+5YJCdGZYX5vffOScFlomSF
tMtbU1XrZqQ=
=KrB4
-----END PGP SIGNATURE-----
More information about the Distutils-SIG
mailing list