Page MenuHomePhabricator

PAWS. pwb code entry point does not invoke scripts from scripts path
Closed, DuplicatePublic


Pywikibot has a pwb code entry point i.e. pwb.exe in <pythonpath>/Scripts. This wrapper script is able to call any script found in following folders:

The entry point works for script within pwikibot.scripts:

pwb version

but fails for framework scripts:

pwb redirect do
ERROR: not found! Misspelling?

To run the script one has to invoke it with: redirect do

(note the .py) usually resides in the topmost Pywikibot folder. Both should call the wrapper script.