-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathsetup.py
38 lines (33 loc) · 1.08 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
37
38
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.3.4',
description='A django app that replaces the django admin authentication mechanism by deferring to an oauth2 provider',
long_description=README,
long_description_content_type='text/markdown',
url='https://github.com/RealGeeks/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'],
)