[Distutils] programmatically adding entry points

Antoine Pitrou antoine.pitrou at wengo.com
Tue Apr 24 17:27:12 CEST 2007


hello,

First, I don't know if this is the right mailing-list for asking
questions about pkg_resources. If it isn't, please be kind to point me
to the right place.

I've read the pkg_resources API (*) and I don't see any way of
programmatically registering a (possibly temporary) entry-point. The
only documented way to add entry points is to write setup scripts.
But if I want to write unit tests for entry point-related behaviour, I
don't want to run setup scripts in my unit tests. Is there a simple way
to do this?

(*) http://peak.telecommunity.com/DevCenter/PkgResources

Thanks

Antoine.




More information about the Distutils-SIG mailing list