Skip to content

Commit ea0376e

Browse files
committed
Add a long_description to setup.py
Currently the `systemd-python` package on PyPI renders with a "Project description" of "The author of this package has not provided a project description" because the setup.py has no `long_description` argument. As a result, the rendering of the project on PyPi appears either immature or not legitimate. Ths adds in a `long_description` argument which displays the `README.md` as the "Project description" on PyPI.
1 parent 9031424 commit ea0376e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ def lib(*names, **kw):
7979
setup (name = 'systemd-python',
8080
version = version,
8181
description = 'Python interface for libsystemd',
82+
long_description=open("README.md").read(),
83+
long_description_content_type="text/markdown",
8284
author_email = '[email protected]',
8385
maintainer = 'systemd developers',
8486
maintainer_email = '[email protected]',

0 commit comments

Comments
 (0)