Dvorapa added a comment.

  Okay, so I've tried your repo from https://github.com/mineo/pwbtest . I got 
the same error, but I noticed you use `setup.py develop` which is not a 
recommended practice afaik. So I've tried `pip install -e .` instead and 
everything worked like a charm.
  
  Using `setup.py develop` these days is literally like asking for a trouble 
from my point of view, it is also not recommended by Python developers. These 
days PEP 517 and 518 make the use of `setup.py install` and `develop` 
effectively deprecated. Similarly setuptools project makes `setup.py test` 
deprecated and test frameworks like pytest, unittest, nosetest etc. also 
recommend using their way instead. So generally using setup.py as an executable 
script instead of using it just as a source of package information is not a 
good idea (except `setup.py sdist` of course). I think we should close this as 
declined instead of trying to fix deprecated functionality.

TASK DETAIL
  https://phabricator.wikimedia.org/T253719

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Dvorapa
Cc: Dvorapa, Xqt, Aklapper, pywikibot-bugs-list, Mineo, JohnsonLee01, 
Blissjay007, Dijkstra, Oblanco79, Alter-paule, Beast1978, Un1tY, Zkhalido, 
Hook696, Daryl-TTMG, RomaAmorRoma, E.S.A-Sheild, Kent7301, Meekrab2012, 
joker88john, Viztor, CucyNoiD, NebulousIris, Wenyi, Gaboe420, Versusxo, 
Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Af420, Darkminds3113, 
Bsandipan, Lordiis, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Tbscho, MayS, 
WSH1906, Lewizho99, Mdupont, JJMC89, Maathavan, Altostratus, Avicennasis, 
mys_721tx, jayvdb, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to