Skip to content

Commit 25dd6d4

Browse files
author
Lukas
committed
markdown support
1 parent 69242fb commit 25dd6d4

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

setup.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
#!/usr/bin/env python
22
from setuptools import setup
33

4+
5+
with open('README.md') as f:
6+
long_description = f.read()
7+
48
setup(
59
name='django-admin-numeric-filter',
610
short_description='Numeric filters for Django admin',
7-
long_description=open('README.md').read(),
11+
long_description=long_description,
12+
long_description_content_type='text/markdown',
813
version='0.1.0',
914
packages=[
1015
'admin_numeric_filter',
@@ -21,4 +26,4 @@
2126
'Framework :: Django',
2227
],
2328
keywords="django admin numeric filter"
24-
)
29+
)

0 commit comments

Comments
 (0)