jenkins-bot has submitted this change and it was merged.

Change subject: Bug 61783: also install root pywikibot package
......................................................................


Bug 61783: also install root pywikibot package

We only installed packages that started with 'pywikibot.'
(e.g. pywikibot.comms and pywikibot.data), but this did not
install e.g. pywikibot.page (which is the *module* page in
*package* pywikibot) as well as pywikibot/__init__.py, which
is required to import the entire package.

Change-Id: Ie2534442a8b651cf5c63c607462887b3d4a55477
---
M setup.py
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Xqt: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/setup.py b/setup.py
index 29d35e6..580f9b1 100644
--- a/setup.py
+++ b/setup.py
@@ -58,7 +58,8 @@
     version='2.0b1',
     description='Python Wikipedia Bot Framework',
     license='MIT License',
-    packages=[package
+    packages=['pywikibot'] + \
+             [package
               for package in find_packages()
               if package.startswith('pywikibot.')],
     install_requires=[

-- 
To view, visit https://gerrit.wikimedia.org/r/121535
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie2534442a8b651cf5c63c607462887b3d4a55477
Gerrit-PatchSet: 2
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Merlijn van Deen <[email protected]>
Gerrit-Reviewer: Ladsgroup <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to