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

build: add build system configuration to pyproject.toml #51

Merged
merged 2 commits into from
Aug 7, 2023

Conversation

ruancomelli
Copy link
Contributor

Add a pyproject.toml file including the build system configuration as recommended by setuptools's docs.

The current build process uses setup.py install which is deprecated in newer versions of pip. See the discussion in pypa/pip#8559 for more information. One of the recommended fixes to that is specifying the build system in a pyproject.toml file.

I tested this by running pip install . with and without the pyproject.toml configuration. By installing this project without the pyproject file, I was able to reproduce #42. By installing this project with the pyproject file, the warning vanished.

Fixes #42.

@mherrmann mherrmann merged commit 09876e6 into mherrmann:master Aug 7, 2023
5 checks passed
@ruancomelli ruancomelli deleted the build/add-pyproject branch August 7, 2023 09:32
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.

deprecation: gitignore-parser is being installed using the legacy 'setup.py install' method
2 participants