diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index d132d05..8c11768 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -32,6 +32,6 @@ jobs: . - name: Publish distribution 📦 to PyPI #if: startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@release/v1 with: password: ${{ secrets.PYPI_API_TOKEN }} diff --git a/README.md b/README.md new file mode 100644 index 0000000..db6b7c6 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# Gadgetron Python + +Python interface for Gadgetron. \ No newline at end of file diff --git a/gadgetron/version.py b/gadgetron/version.py index e3e8923..0caca0b 100644 --- a/gadgetron/version.py +++ b/gadgetron/version.py @@ -1,6 +1,6 @@ major = 1 minor = 4 -build = 0 +build = 1 version = f"{major}.{minor}.{build}" diff --git a/setup.py b/setup.py index bac4f93..cd32821 100644 --- a/setup.py +++ b/setup.py @@ -1,10 +1,14 @@ from setuptools import setup - +from pathlib import Path version = {} with open("gadgetron/version.py") as fp: exec(fp.read(), version) # later on we use: version['__version__'] + +this_directory = Path(__file__).parent +long_description = (this_directory / "README.md").read_text() + setup( name='gadgetron', version=version['version'], @@ -20,7 +24,9 @@ license='MIT', author='Kristoffer Langeland Knudsen', author_email='kristofferlknudsen@gradientsoftware.net', - description='', + description='Python interface for Gadgetron', + long_description = long_description, + long_description_content_type='text/markdown', install_requires=[ 'numpy>=1.22', 'ismrmrd>=1.12.5',