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

Add modern package harness #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

jmacloue
Copy link

@jmacloue jmacloue commented Jul 6, 2023

As per general Python Packaging recommendations:

  1. distutils replaced with setuptools
  2. Modern build system support through pyproject.toml addition

This allows the package to be built in an isolated environment, and adds modern binary wheel distribution support (not possible with legacy distutils). In turn, this enables specifying the module as a dependency in other projects - just put git+https://github.com/... in the requirements.txt, no need to mention requests explicitly to make it work, and also allows Python Poetry to manage the dependency (something we couldn't do in our project).

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.

1 participant