Poetry is a dependency and package manager for Python projects that is growing in usage and popularity. A recent update to the minor version (1.1 -> 1.2) makes one unable to install mediawiki-parser as this repo's setup.py is currently written, since it uses distutils in a way that is being deprecated. Somewhat related issue posted on poetry's repo: https://github.com/python-poetry/poetry/issues/6459
Minor edits to setup.py resolves this issue. Uses setuptools instead of distutils to install mediawiki-parser. Tested install by publishing fork to mediawiki-parser-fix on PyPI and installing with Poetry. Am still able to install directly with pip as well. See here: https://pypi.org/project/mediawiki-parser-fix/
Poetry is a dependency and package manager for Python projects that is growing in usage and popularity. A recent update to the minor version (1.1 -> 1.2) makes one unable to install
mediawiki-parser
as this repo'ssetup.py
is currently written, since it usesdistutils
in a way that is being deprecated. Somewhat related issue posted onpoetry
's repo: https://github.com/python-poetry/poetry/issues/6459Minor edits to
setup.py
resolves this issue. Usessetuptools
instead ofdistutils
to installmediawiki-parser
. Tested install by publishing fork tomediawiki-parser-fix
on PyPI and installing with Poetry. Am still able to install directly withpip
as well. See here: https://pypi.org/project/mediawiki-parser-fix/