Skip to content

Add modern package harness#3

Open
jmacloue wants to merge 2 commits intobsgworld:masterfrom
jmacloue:master
Open

Add modern package harness#3
jmacloue wants to merge 2 commits intobsgworld:masterfrom
jmacloue:master

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