Skip to content

Commit 0af1885

Browse files
Update setup.py (#693)
Add long_description settings to setup.py to address `twine check` errors
1 parent c68cf7e commit 0af1885

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

setup.py

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
#!/usr/bin/env python
22
from setuptools import setup
3+
from pathlib import Path
34

4-
setup(use_scm_version={"version_scheme": "post-release"})
5+
this_directory = Path(__file__).parent
6+
long_description = (this_directory / "README.rst").read_text()
7+
setup(
8+
long_description=long_description,
9+
long_description_content_type='text/markdown',
10+
use_scm_version={"version_scheme": "post-release"}
11+
)

0 commit comments

Comments
 (0)