Skip to content

Commit

Permalink
build(pypi): verify readme and add long_description_content_type (#1282)
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher authored Nov 5, 2023
1 parent 31bbb4f commit c03d515
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,14 @@ jobs:
run: |
pip install -U pip
pip install -r requirements.txt
pip install setuptools wheel
pip install setuptools twine wheel
python setup.py sdist bdist_wheel
- name: Verify README
# https://packaging.python.org/guides/making-a-pypi-friendly-readme/#validating-restructuredtext-markup
run: |
python -m twine check dist/*
- name: Upload builds
uses: actions/upload-artifact@v3
with:
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
},
python_requires='>=3.8',
long_description=readme,
long_description_content_type='text/x-rst',
keywords=['plex', 'api'],
classifiers=[
'Operating System :: OS Independent',
Expand Down

0 comments on commit c03d515

Please sign in to comment.