Move setup metadata to setup.cfg

This commit is contained in:
Jerome Leclanche 2017-03-08 13:19:07 +02:00
parent 8ad8cb49f7
commit ff1de79fa2
3 changed files with 31 additions and 38 deletions

View File

@ -1 +0,0 @@
Django

View File

@ -1,2 +1,30 @@
[wheel]
[metadata]
name = django-push-notifications
version = 1.4.1
description = Send push notifications to mobile devices through GCM, APNS or WNS in Django
author = Jerome Leclanche
author_email = jerome@leclan.ch
url = https://github.com/jleclanche/django-push-notifications/
download_url = https://github.com/jleclanche/django-push-notifications/tarball/master
classifiers =
Development Status :: 5 - Production/Stable
Environment :: Web Environment
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Topic :: System :: Networking
Programming Language :: Python
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.4
Programming Language :: Python :: 3.5
Framework :: Django
Framework :: Django :: 1.8
Framework :: Django :: 1.10
[options]
packages = find:
install_requires = Django>=1.8
[bdist_wheel]
universal = 1

View File

@ -1,40 +1,6 @@
#!/usr/bin/env python
import os.path
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), "README.rst")).read()
CLASSIFIERS = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Networking",
]
setup(
name="django-push-notifications",
packages=[
"push_notifications",
"push_notifications/api",
"push_notifications/migrations",
"push_notifications/management",
"push_notifications/management/commands",
],
author="Jerome Leclanche",
author_email="jerome@leclan.ch",
classifiers=CLASSIFIERS,
description="Send push notifications to mobile devices through GCM or APNS in Django.",
download_url="https://github.com/jleclanche/django-push-notifications/tarball/master",
long_description=README,
url="https://github.com/jleclanche/django-push-notifications",
version="1.4.1",
)
setup()