diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 696a3e4..a55809e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,7 +31,7 @@ jobs: bdist_wheel - 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: user: __token__ password: ${{ secrets.pypi_password }} diff --git a/setup.py b/setup.py index 65e0b79..6d461c9 100644 --- a/setup.py +++ b/setup.py @@ -6,6 +6,12 @@ with open("test-requirements.txt") as f: TEST_REQUIREMENTS = f.read().splitlines() +# read the contents of your README file +from pathlib import Path + +this_directory = Path(__file__).parent +long_description = (this_directory / "README.md").read_text() + setup( name="kiwi-json", version="0.10.0", @@ -16,6 +22,8 @@ install_requires=REQUIREMENTS, tests_require=TEST_REQUIREMENTS, description="DRY JSON encoder.", + long_description=long_description, + long_description_content_type="text/markdown", include_package_data=True, classifiers=[ "Development Status :: 4 - Beta",