Skip to content

Commit 281028e

Browse files
committed
Include long description in package metadata
1 parent a487358 commit 281028e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

setup.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#!/usr/bin/env python
2+
3+
from pathlib import Path
4+
25
from setuptools import setup, find_packages
36
import dbbackup
47

@@ -11,6 +14,9 @@ def get_test_requirements():
1114
return open('requirements-tests.txt').read().splitlines()
1215

1316

17+
project_dir = Path(__file__).parent
18+
19+
1420
keywords = [
1521
'django', 'database', 'media', 'backup',
1622
'amazon', 's3' 'dropbox',
@@ -22,6 +28,7 @@ def get_test_requirements():
2228
description=dbbackup.__doc__,
2329
author=dbbackup.__author__,
2430
author_email=dbbackup.__email__,
31+
long_description=project_dir.joinpath("README.rst").read_text(encoding="utf-8"),
2532
python_requires=">=3.6",
2633
install_requires=get_requirements(),
2734
tests_require=get_test_requirements(),

0 commit comments

Comments
 (0)