mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-20 11:51:05 -05:00
Setup: list supported Python and Django versions; don't include entire license file
This commit is contained in:
11
setup.py
11
setup.py
@@ -15,8 +15,6 @@ def long_description_from_readme(rst):
|
|||||||
rst = re.sub(r'/latest', '/v' + __minor_version__, rst) # ReadTheDocs
|
rst = re.sub(r'/latest', '/v' + __minor_version__, rst) # ReadTheDocs
|
||||||
return rst
|
return rst
|
||||||
|
|
||||||
with open('LICENSE') as f:
|
|
||||||
license_text = f.read()
|
|
||||||
with open('README.rst') as f:
|
with open('README.rst') as f:
|
||||||
long_description = long_description_from_readme(f.read())
|
long_description = long_description_from_readme(f.read())
|
||||||
|
|
||||||
@@ -28,7 +26,7 @@ setup(
|
|||||||
author="Kenneth Love <kenneth@brack3t.com>, Chris Jones <chris@brack3t.com>",
|
author="Kenneth Love <kenneth@brack3t.com>, Chris Jones <chris@brack3t.com>",
|
||||||
author_email="kenneth@brack3t.com",
|
author_email="kenneth@brack3t.com",
|
||||||
url="https://github.com/brack3t/Djrill/",
|
url="https://github.com/brack3t/Djrill/",
|
||||||
license=license_text,
|
license="BSD License",
|
||||||
packages=["djrill"],
|
packages=["djrill"],
|
||||||
zip_safe=False,
|
zip_safe=False,
|
||||||
install_requires=["requests", "django"],
|
install_requires=["requests", "django"],
|
||||||
@@ -37,9 +35,16 @@ setup(
|
|||||||
tests_require=["mock"],
|
tests_require=["mock"],
|
||||||
classifiers=[
|
classifiers=[
|
||||||
"Programming Language :: Python",
|
"Programming Language :: Python",
|
||||||
|
"Programming Language :: Python :: 2.6",
|
||||||
|
"Programming Language :: Python :: 2.7",
|
||||||
|
"Programming Language :: Python :: 3",
|
||||||
|
"Programming Language :: Python :: 3.2",
|
||||||
"License :: OSI Approved :: BSD License",
|
"License :: OSI Approved :: BSD License",
|
||||||
"Topic :: Software Development :: Libraries :: Python Modules",
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
||||||
"Framework :: Django",
|
"Framework :: Django",
|
||||||
|
"Framework :: Django :: 1.3",
|
||||||
|
"Framework :: Django :: 1.4",
|
||||||
|
"Framework :: Django :: 1.5",
|
||||||
"Environment :: Web Environment",
|
"Environment :: Web Environment",
|
||||||
],
|
],
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
|
|||||||
Reference in New Issue
Block a user