[issue14549] Recursive inclusion of packages

Erik Bray report at bugs.python.org
Wed Apr 11 19:13:36 CEST 2012


Erik Bray <erik.m.bray at gmail.com> added the comment:

Potential downside:

Say I have foo, foo.bar, and foo.tests.  I want to install foo and foo.bar, but not foo.tests.  Then I have to manually list all the packages I do want:

packages =
    foo
    foo.bar

That's fine, but one nice thing about find_packages is that it had an optional exclude argument. So maybe in addition to the wildcard syntax it couldn't hurt to add an exclude-packages option?  I don't think that would be too complicated.

Something similar for extension module sources would also be desirable.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14549>
_______________________________________


More information about the Python-bugs-list mailing list