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:
28
28
run : |
29
29
python -m pip install --upgrade pip
30
30
python -m pip install build
31
+ python -m pip install twine
31
32
32
33
- name : Build packages
33
34
run : python -m build
34
35
36
+ - name : Check metadata verification
37
+ run : python -m twine check --strict dist/*
38
+
35
39
# only publish distribution to PyPI for tagged commits
36
40
- name : Publish distribution to PyPI
37
41
if : startsWith(github.ref, 'refs/tags/v')
38
42
uses : pypa/gh-action-pypi-publish@release/v1
39
43
with :
40
44
user : __token__
41
- password : ${{ secrets.pypi_password }}
45
+ password : ${{ secrets.pypi_password }}
Original file line number Diff line number Diff line change 27
27
28
28
Source code: https://github.com/pvlib/pvlib-python
29
29
"""
30
+ LONG_DESCRIPTION_CONTENT_TYPE = "text/x-rst"
30
31
31
32
DISTNAME = 'pvlib'
32
33
LICENSE = 'BSD 3-Clause'
119
120
ext_modules = extensions ,
120
121
description = DESCRIPTION ,
121
122
long_description = LONG_DESCRIPTION ,
123
+ long_description_content_type = LONG_DESCRIPTION_CONTENT_TYPE ,
122
124
author = AUTHOR ,
123
125
maintainer_email = MAINTAINER_EMAIL ,
124
126
license = LICENSE ,
You can’t perform that action at this time.
0 commit comments