Dvorapa added a comment.
Yeah, that's expected, setup.py install/develop/build will all have the same problem I think. I honestly don't know, how to fix this as I'm currently outside my PC, unable to create the in-the-middle-of `setup.py develop` conditions to find out, what should setup.py ask if not git or pkg_resources. In dist tarball, the only place with version number is PKGINFO and I don't know, how to instruct setup.py to parse this value from PKGINFO. I'm afraid single-sourced package version will either have the same problem, or it would create a new one, but It would definitely be better than the current versioning madness. I hate this Python packaging and versioning so much, such a good language with such a lame folder structure, packaging and versioning. In comparison to Dart or Go, this is still a madness even with PEP 517 and 518. 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 pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs