mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-10 06:04:15 +00:00
build(pypi): verify readme and add long_description_content_type (#1282)
This commit is contained in:
parent
31bbb4fbfe
commit
c03d515ade
2 changed files with 7 additions and 1 deletions
7
.github/workflows/pypi.yml
vendored
7
.github/workflows/pypi.yml
vendored
|
@ -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:
|
||||
|
|
1
setup.py
1
setup.py
|
@ -36,6 +36,7 @@ setup(
|
|||
},
|
||||
python_requires='>=3.8',
|
||||
long_description=readme,
|
||||
long_description_content_type='text/x-rst',
|
||||
keywords=['plex', 'api'],
|
||||
classifiers=[
|
||||
'Operating System :: OS Independent',
|
||||
|
|
Loading…
Reference in a new issue