This repository was archived by the owner on Jun 4, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 59
Expand file tree
/
Copy pathsetup.py
More file actions
47 lines (40 loc) · 1.44 KB
/
setup.py
File metadata and controls
47 lines (40 loc) · 1.44 KB
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
39
40
41
42
43
44
45
46
47
# -*- coding: utf-8 -*-
import ez_setup
ez_setup.use_setuptools()
import os
import re
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
_init = read('simpleauth/__init__.py')
version = re.search(r"__version__ = '([^']+)'", _init).group(1)
author = re.search(r"__author__ = '([^']+)'", _init).group(1)
license = re.search(r"__license__ = '([^']+)'", _init).group(1)
setup(name='simpleauth',
version=version,
author=author,
url='https://github.com/crhym3/simpleauth',
download_url='https://github.com/crhym3/simpleauth/archive/master.zip',
description='A simple auth handler for Google App Engine supporting '
'OAuth 1.0a, 2.0 and OpenID',
keywords='oauth oauth2 openid appengine google',
platforms=['any'],
license=license,
install_requires=['oauth2', 'httplib2'],
extras_require={
'LinkedIn': ['lxml']
},
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Security',
'Topic :: Software Development :: Libraries',
],
packages=['simpleauth'],
long_description=read('README.md')
)