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

Updates publish to TestPyPI GitHub Action / Adds publish to PyPI GitHub Action #26

Merged
merged 12 commits into from
Aug 31, 2023

Conversation

tomaroberts
Copy link
Owner

Resolves #24 and improves upon implementation of #23

  • Implements dunamai
  • Version number updated with each commit using X.Y.Z.postN format (SemVer, so compatible with PyPI)
  • Publication on TestPyPI with every push on main
    • Verifies that python package will build and runs basic nii2dcm CLI check
  • Publication on PyPI with every Release
    • Version number set by Release tag in format vX.Y.Z

Updates:
- requirements.txt
- setup.cfg
- adds setup.py
- removes setuptools-scm code from pyproject.toml
- reinstates _version.py so that version propagated through code, such as CLI `nii2dcm -v`
Use this commit to create new tag containing "v", i.e. v0.1.1 – required by current dunamai implementation
- Leftover from setuptools-scm
- Potentially reinstate in future
Not required now `pip install .` functional
@tomaroberts tomaroberts merged commit b03b4aa into main Aug 31, 2023
@tomaroberts tomaroberts deleted the 24-gha-pypi branch August 31, 2023 17:05
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.

Create PyPI build GHA
1 participant