File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -28,14 +28,18 @@ jobs:
2828 run : |
2929 python -m pip install --upgrade pip
3030 python -m pip install build
31+ python -m pip install twine
3132
3233 - name : Build packages
3334 run : python -m build
3435
36+ - name : Check metadata verification
37+ run : python -m twine check --strict dist/*
38+
3539 # only publish distribution to PyPI for tagged commits
3640 - name : Publish distribution to PyPI
3741 if : startsWith(github.ref, 'refs/tags/v')
3842 uses : pypa/gh-action-pypi-publish@release/v1
3943 with :
4044 user : __token__
41- password : ${{ secrets.pypi_password }}
45+ password : ${{ secrets.pypi_password }}
Original file line number Diff line number Diff line change 2727
2828Source code: https://github.com/pvlib/pvlib-python
2929"""
30+ LONG_DESCRIPTION_CONTENT_TYPE = "text/x-rst"
3031
3132DISTNAME = 'pvlib'
3233LICENSE = 'BSD 3-Clause'
119120 ext_modules = extensions ,
120121 description = DESCRIPTION ,
121122 long_description = LONG_DESCRIPTION ,
123+ long_description_content_type = LONG_DESCRIPTION_CONTENT_TYPE ,
122124 author = AUTHOR ,
123125 maintainer_email = MAINTAINER_EMAIL ,
124126 license = LICENSE ,
You can’t perform that action at this time.
0 commit comments