forked from RealGeeks/django-admin-oauth2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
36 lines (32 loc) · 1.03 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
from setuptools import setup
from os.path import dirname, join
try:
with open(join(dirname(__file__), 'README.md')) as f:
README = f.read()
except IOError:
README = '<no description>'
install_requires = ['oauthlib', 'requests_oauthlib']
try:
import importlib
except ImportError:
install_requires.append('importlib')
setup(
name='django-admin-oauth2',
version='1.2.1',
description='A django app that replaces the django admin authentication mechanism by deferring to an oauth2 provider',
long_description=README,
url='https://github.com/bastionhost/django-admin-oauth2',
author='Real Geeks LLC',
author_email='andrew@realgeeks.com',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
],
license='MIT',
install_requires=install_requires,
packages=['oauthadmin'],
)