Skip to content

Packaging fixes#11

Open
Flameeyes wants to merge 4 commits into
acksmaggart:masterfrom
Flameeyes:packaging-fixes
Open

Packaging fixes#11
Flameeyes wants to merge 4 commits into
acksmaggart:masterfrom
Flameeyes:packaging-fixes

Conversation

@Flameeyes

Copy link
Copy Markdown

Thank you for your library! I'm looking to use it in a couple of places, so I thought I would send a couple of cleanups on the packaging side.

The SPDX tags are to make it easier to do license validation (see this blog post of mine), and making sure your copyright doesn't get buried behind imports.

The declarative setuptools file makes it easier to read information programmatically, and I found it easier to maintain long term.

If that interests you, I'm also happy to add, or send you a new pull request with, the pre-commit and GitHub Actions integration to make sure that the project stays REUSE compliant in the future.

This makes the code follow the REUSE.software specifications, which allow safe and low-friction reuse of code.
This pretty covers the whole content of the previous setup.py file, but as a declarative file, that does not require to execute code to run.
While the classifiers already included the supported Python version and the license, they are not actually built into the wheel.

Add an explicit license metadata and a python_requires option.
This just makes it pass flake8 if used identically in tests.
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