Skip to content

Commit a0a5936

Browse files
committed
move README markdown setup to setup.cfg
This declarative approach seems somewhat cleaner. See https://dustingram.com/articles/2018/03/16/markdown-descriptions-on-pypi/
1 parent aa3a9d7 commit a0a5936

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ author_email = [email protected]
66
license = GPL-2+
77
home_page = https://github.com/aspiers/git-deps
88
long_description = file: README.md, USAGE.md, USE-CASES.md
9+
long_description_content_type = text/markdown
910
classifier =
1011
Development Status :: 4 - Beta
1112
Environment :: Console

setup.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ def setup_package():
2020
'six',
2121
'pyscaffold>=2.5.10,<2.6a0',
2222
] + sphinx,
23-
long_description='README.md',
24-
long_description_content_type="text/markdown",
2523
use_pyscaffold=True
2624
)
2725

0 commit comments

Comments
 (0)