[Distutils] svn tagging setuptools command
Ian Bicking
ianb at colorstudy.com
Mon Aug 29 21:04:29 CEST 2005
Kevin Dangoor wrote:
> On 8/29/05, Phillip J. Eby <pje at telecommunity.com> wrote:
>
>>Personally, I think the simple way to deal with this is to package
>>distutils extensions as separate packages; e.g. SQLObjectSetup or some such.
>
>
> Could this type of thing be done with a "feature"? That way, it's
> still ultimately part of SQLObject, but people can choose to leave it
> out if they wish...
Entry points can require features, but AFAIK they can't be
feature-specific. Unless if an entry point depended on a feature, and
that feature wasn't loaded (which they aren't by default, even when the
egg is installed for implicit use without require()), and the entry
point wasn't loaded as a result.
However, I think the entry point will be found either way, and then the
feature required when the entry point is actually used.
If there was a way to say that an entry point is only available when a
feature is loaded (as opposed to saying that a feature must be loaded
before using the entry point), then that would work.
--
Ian Bicking / ianb at colorstudy.com / http://blog.ianbicking.org
More information about the Distutils-SIG
mailing list