mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2025-02-16 01:40:34 +03:00
Move package metadata to setup.cfg
This commit is contained in:
parent
555a510b58
commit
8e5390c6bb
52
setup.cfg
52
setup.cfg
|
@ -2,10 +2,6 @@
|
||||||
universal = 1
|
universal = 1
|
||||||
|
|
||||||
|
|
||||||
[metadata]
|
|
||||||
license_file = LICENSE
|
|
||||||
|
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
max_line_length = 120
|
max_line_length = 120
|
||||||
max_complexity = 10
|
max_complexity = 10
|
||||||
|
@ -18,3 +14,51 @@ source = rest_auth
|
||||||
omit =
|
omit =
|
||||||
*migrations*
|
*migrations*
|
||||||
tests
|
tests
|
||||||
|
|
||||||
|
|
||||||
|
[metadata]
|
||||||
|
name = django-rest-auth
|
||||||
|
version = 0.9.5
|
||||||
|
keywords = django, rest, auth, registration, rest-framework, django-registration, api
|
||||||
|
description = Create a set of REST API endpoints for Authentication and Registration
|
||||||
|
long_description = file: README.rst
|
||||||
|
license = MIT
|
||||||
|
license_file = LICENSE
|
||||||
|
|
||||||
|
author = Sumit Chachra
|
||||||
|
author_email = chachra@tivix.com
|
||||||
|
url = http://github.com/Tivix/django-rest-auth
|
||||||
|
|
||||||
|
classifiers =
|
||||||
|
Development Status :: 4 - Beta
|
||||||
|
Framework :: Django
|
||||||
|
Framework :: Django :: 1.11
|
||||||
|
Framework :: Django :: 2.0
|
||||||
|
Intended Audience :: Developers
|
||||||
|
Intended Audience :: System Administrators
|
||||||
|
License :: OSI Approved :: BSD License
|
||||||
|
Operating System :: OS Independent
|
||||||
|
Programming Language :: Python
|
||||||
|
Programming Language :: Python :: 2
|
||||||
|
Programming Language :: Python :: 2.7
|
||||||
|
Programming Language :: Python :: 3
|
||||||
|
Programming Language :: Python :: 3.5
|
||||||
|
Programming Language :: Python :: 3.6
|
||||||
|
Programming Language :: Python :: 3.7
|
||||||
|
Topic :: Software Development
|
||||||
|
|
||||||
|
[options]
|
||||||
|
zip_safe = False
|
||||||
|
include_package_data = True
|
||||||
|
packages = find:
|
||||||
|
install_requires =
|
||||||
|
Django >= 1.8.0
|
||||||
|
djangorestframework >= 3.1.3
|
||||||
|
|
||||||
|
[options.extras_require]
|
||||||
|
with_social =
|
||||||
|
django-allauth >= 0.25.0
|
||||||
|
|
||||||
|
[options.packages.find]
|
||||||
|
exclude =
|
||||||
|
tests
|
||||||
|
|
49
setup.py
49
setup.py
|
@ -1,50 +1,5 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
from setuptools import setup
|
||||||
import os
|
|
||||||
from setuptools import setup, find_packages
|
|
||||||
|
|
||||||
|
|
||||||
here = os.path.dirname(os.path.abspath(__file__))
|
setup()
|
||||||
f = open(os.path.join(here, 'README.rst'))
|
|
||||||
long_description = f.read().strip()
|
|
||||||
f.close()
|
|
||||||
|
|
||||||
|
|
||||||
setup(
|
|
||||||
name='django-rest-auth',
|
|
||||||
version='0.9.5',
|
|
||||||
author='Sumit Chachra',
|
|
||||||
author_email='chachra@tivix.com',
|
|
||||||
url='http://github.com/Tivix/django-rest-auth',
|
|
||||||
description='Create a set of REST API endpoints for Authentication and Registration',
|
|
||||||
packages=find_packages(),
|
|
||||||
long_description=long_description,
|
|
||||||
keywords='django rest auth registration rest-framework django-registration api',
|
|
||||||
zip_safe=False,
|
|
||||||
install_requires=[
|
|
||||||
'Django>=1.8.0',
|
|
||||||
'djangorestframework>=3.1.3',
|
|
||||||
],
|
|
||||||
extras_require={
|
|
||||||
'with_social': ['django-allauth>=0.25.0'],
|
|
||||||
},
|
|
||||||
include_package_data=True,
|
|
||||||
classifiers=[
|
|
||||||
'Development Status :: 4 - Beta',
|
|
||||||
'Framework :: Django',
|
|
||||||
'Framework :: Django :: 1.11',
|
|
||||||
'Framework :: Django :: 2.0',
|
|
||||||
'Intended Audience :: Developers',
|
|
||||||
'Intended Audience :: System Administrators',
|
|
||||||
'License :: OSI Approved :: BSD License',
|
|
||||||
'Operating System :: OS Independent',
|
|
||||||
'Programming Language :: Python',
|
|
||||||
'Programming Language :: Python :: 2',
|
|
||||||
'Programming Language :: Python :: 2.7',
|
|
||||||
'Programming Language :: Python :: 3',
|
|
||||||
'Programming Language :: Python :: 3.5',
|
|
||||||
'Programming Language :: Python :: 3.6',
|
|
||||||
'Programming Language :: Python :: 3.7',
|
|
||||||
'Topic :: Software Development'
|
|
||||||
],
|
|
||||||
)
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user