Skip to content

Commit 7fa01ce

Browse files
authored
Merge pull request #411 from johnthagen/add-long-description
Include long description in package metadata
2 parents a487358 + 68d7fd9 commit 7fa01ce

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

docs/changelog.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Unreleased
1313
* Fix authentication error when postgres is password protected `#361`_
1414
* Use exclude-table-data instead of exclude-table `#363`_
1515
* Add support for exclude tables data in the command interface `#375`_
16-
* Documentation fixes `#341`_ `#333`_ `#349`_ `#348`_ `#337`_
16+
* Documentation fixes `#341`_ `#333`_ `#349`_ `#348`_ `#337`_ `#411`_
1717

1818

1919
3.3.0 (2020-04-14)
@@ -58,3 +58,4 @@ Unreleased
5858
.. _`#408`: https://github.com/django-dbbackup/django-dbbackup/pull/408
5959
.. _`#371`: https://github.com/django-dbbackup/django-dbbackup/pull/371
6060
.. _`#379`: https://github.com/django-dbbackup/django-dbbackup/pull/379
61+
.. _`#411`: https://github.com/django-dbbackup/django-dbbackup/pull/411

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)