jenkins-bot has submitted this change and it was merged.
Change subject: (bug 55584) only install pywikibot.* ......................................................................
(bug 55584) only install pywikibot.*
After hitting setuptools with a hammer in the right places, this seems to be the best way of doing it. The alternative is listing packages manually (['pywikibot', 'pywikibot.comms', ...]) or having a huge exclude list (['tests', 'tests.*', ...]).
Change-Id: Ie1dd6b6e5558edd48b6a1a2fef96b665f7339b78 --- M setup.py 1 file changed, 3 insertions(+), 1 deletion(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/setup.py b/setup.py index 855c91b..2c7c279 100644 --- a/setup.py +++ b/setup.py @@ -56,7 +56,9 @@ version='2.0b1', description='Python Wikipedia Bot Framework', license='MIT License', - packages=find_packages(), + packages=[package + for package in find_packages() + if package.startswith('pywikibot.')], install_requires=[ 'httplib2>=0.6.0' ],
pywikibot-commits@lists.wikimedia.org