Skip to content

Prepare for PyPI: publish workflow, SPDX license, pip install feastdate - #13

Merged
isaacschepp merged 1 commit into
mainfrom
pypi-publish
Sep 23, 2026
Merged

isaacschepp merged 1 commit into
mainfrom
pypi-publish

Conversation

@isaacschepp

Copy link
Copy Markdown
Owner

Prepare for PyPI: publish workflow, SPDX license, pip install feastdate

Part of #11. Nothing is published by this commit.

  • .github/workflows/publish.yml: a pushed v* tag builds, checks that the
    tag matches the pyproject version, runs twine check --strict and a
    smoke test of the built wheel, then publishes to PyPI by Trusted
    Publishing (environment "pypi"). Running it by hand publishes the
    same build to TestPyPI (environment "testpypi"). No token is stored.
  • pyproject.toml: license = "MIT" with license-files, the PEP 639 form.
    The TOML-table form and the license classifier are deprecated in
    setuptools and stop building after 2027-02-18. Needs setuptools>=77.
  • README: pip install feastdate, git form kept for main. The LICENSE
    link is absolute so it works on the PyPI page.

Part of #11. Nothing is published by this commit.

- .github/workflows/publish.yml: a pushed v* tag builds, checks that the
  tag matches the pyproject version, runs twine check --strict and a
  smoke test of the built wheel, then publishes to PyPI by Trusted
  Publishing (environment "pypi"). Running it by hand publishes the
  same build to TestPyPI (environment "testpypi"). No token is stored.
- pyproject.toml: license = "MIT" with license-files, the PEP 639 form.
  The TOML-table form and the license classifier are deprecated in
  setuptools and stop building after 2027-02-18. Needs setuptools>=77.
- README: pip install feastdate, git form kept for main. The LICENSE
  link is absolute so it works on the PyPI page.
@isaacschepp
isaacschepp merged commit acc32d7 into main Sep 23, 2026
10 checks passed
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