Skip to content

Commit 23524c6

Browse files
committed
Add long description to setup
1 parent 36fa288 commit 23524c6

1 file changed

Lines changed: 21 additions & 14 deletions

File tree

setup.py

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,32 @@
1+
from os import path
12
from setuptools import setup, find_packages
23

34

4-
version = __import__('mqueue').__version__
5+
version = __import__("mqueue").__version__
6+
7+
this_directory = path.abspath(path.dirname(__file__))
8+
with open(path.join(this_directory, "README.md"), encoding="utf-8") as f:
9+
long_description = f.read()
510

611
setup(
7-
name='django-mqueue',
12+
name="django-mqueue",
813
packages=find_packages(),
914
include_package_data=True,
1015
version=version,
11-
description='Events queue for Django',
12-
author='synw',
13-
author_email='synwe@yahoo.com',
14-
url='https://github.com/synw/django-mqueue',
15-
download_url='https://github.com/synw/django-mqueue/releases/tag/' + version,
16-
keywords=['django', 'logging', 'monitoring'],
16+
description="Events queue for Django",
17+
long_description=long_description,
18+
long_description_content_type="text/markdown",
19+
author="synw",
20+
author_email="synwe@yahoo.com",
21+
url="https://github.com/synw/django-mqueue",
22+
download_url="https://github.com/synw/django-mqueue/releases/tag/" + version,
23+
keywords=["django", "logging", "monitoring"],
1724
classifiers=[
18-
'Development Status :: 4 - Beta',
19-
'Framework :: Django :: 1.11',
20-
'Intended Audience :: Developers',
21-
'License :: OSI Approved :: MIT License',
22-
'Programming Language :: Python :: 3.8',
25+
"Development Status :: 4 - Beta",
26+
"Framework :: Django :: 1.11",
27+
"Intended Audience :: Developers",
28+
"License :: OSI Approved :: MIT License",
29+
"Programming Language :: Python :: 3.8",
2330
],
24-
zip_safe=False
31+
zip_safe=False,
2532
)

0 commit comments

Comments
 (0)