Steps to replicate the issue:
- pip install pywikibot from git
- pwb touch -help (or any other script in ./scripts, ./scripts/userscripts, ./scripts/maintenance)
What happens?:
ERROR: touch.py not found! Misspelling?
What should have happened instead?:
pwb finds and executes the script like python3 pwb.py.
Software version:
current (14dffb0)
Other information:
It finds scripts from ./pywikibot/scripts.
Installing scripts into a site-package instead of relying on the path should fix this.