Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update setup.py to make it compatible with Poetry #9

Merged
merged 6 commits into from
Sep 20, 2022
Merged

Update setup.py to make it compatible with Poetry #9

merged 6 commits into from
Sep 20, 2022

Conversation

vhxs
Copy link

@vhxs vhxs commented Sep 20, 2022

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: python-poetry/poetry#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/

@peter17 peter17 merged commit 363553f into peter17:master Sep 20, 2022
@peter17
Copy link
Owner

peter17 commented Sep 20, 2022

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants