JJMC89 created this task.
JJMC89 added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
**Steps to replicate the issue**:
- Checkout any version of pywikibot since 7.0.0 from git
- Install it using pip (e.g., `pip install .[mwparserfromhell]`)
- Attempt to use the installed `pwb` console script to run one of the install
scripts (e.g., `pwb version`)
**What happens?**:
$ pwb version
Traceback (most recent call last):
File "/home/jjmc89/wrk/pwb/venv/bin/pwb", line 5, in <module>
from pywikibot.scripts.pwb import run
ModuleNotFoundError: No module named 'pywikibot.scripts.pwb'
CRITICAL: Exiting due to uncaught exception <class 'ModuleNotFoundError'>
**What should have happened instead?**:
It should install via pip with a usable `pwb` console script.
**Software version**:
7.0.0 - current (feed2df
<https://phabricator.wikimedia.org/rPWBCfeed2df04e3bd10a8314a6f43d99f9319a620116>)
**Other information**:
i18n is also not installed the same as it would be from PyPI.
TASK DETAIL
https://phabricator.wikimedia.org/T320851
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: JJMC89
Cc: Aklapper, pywikibot-bugs-list, JJMC89, PotsdamLamb, Jyoo1011, JohnsonLee01,
SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont,
Dvorapa, Altostratus, Avicennasis, mys_721tx, Xqt, jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]