Skip to content

Commit 2700862

Browse files
committed
Add description and long_description to setup.py
1 parent e895487 commit 2700862

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

setup.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,21 @@
22

33
import django_mongodb_engine as distmeta
44

5+
DESCRIPTION = 'MongoDB backend for Django-nonrel'
6+
LONG_DESCRIPTION = None
7+
try:
8+
LONG_DESCRIPTION = open('README.rst').read()
9+
except:
10+
pass
511

612
setup(name='django-mongodb-engine',
713
version='.'.join(map(str, distmeta.__version__)),
814
author=distmeta.__author__,
915
author_email=distmeta.__contact__,
1016
url=distmeta.__homepage__,
1117
license='2-clause BSD',
12-
description="MongoDB backend for Django",
18+
description=DESCRIPTION,
19+
long_description=LONG_DESCRIPTION,
1320
install_requires=['pymongo', 'djangotoolbox>=1.6.0'],
1421
packages=find_packages(exclude=['tests', 'tests.*']),
1522
zip_safe=False,

0 commit comments

Comments
 (0)