Skip to content

Commit 9348023

Browse files
authored
Update to setup metadata including URL & dCA as maintainers (#105)
1 parent a56091c commit 9348023

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

setup.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/usr/bin/env python
2+
from pathlib import Path
3+
24
from setuptools import find_packages, setup
35

46
from djangocms_snippet import __version__
@@ -35,6 +37,8 @@
3537
'Topic :: Software Development :: Libraries',
3638
]
3739

40+
this_directory = Path(__file__).parent
41+
long_description = (this_directory / "README.rst").read_text()
3842

3943
setup(
4044
name='djangocms-snippet',
@@ -46,8 +50,10 @@
4650
url='https://github.com/django-cms/djangocms-snippet',
4751
license='BSD-3-Clause',
4852
description='Adds snippet plugin to django CMS.',
49-
long_description=open('README.rst').read(),
50-
packages=find_packages(),
53+
long_description=long_description,
54+
long_description_content_type='text/x-rst',
55+
packages=find_packages(exclude=['tests']),
56+
python_requires='>=3.5',
5157
include_package_data=True,
5258
zip_safe=False,
5359
install_requires=REQUIREMENTS,

0 commit comments

Comments
 (0)