-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
53 lines (48 loc) · 1.44 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
from setuptools import setup, find_packages
import os
import sys
requires = [
'colander',
'pycrypto',
'pyramid',
'pyramid_who',
'randenc',
'repoze.who>=2.0',
]
if sys.version_info[:2] < (2, 7):
requires.append('unittest2')
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
setup(
name='yasso',
version='0.1',
description='Yet Another Single Sign-On: An OAuth2 Provider',
long_description=README + '\n\n' + CHANGES,
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Framework :: Pylons",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
],
license="BSD-derived (http://www.repoze.org/LICENSE.txt)",
author='Shane Hathaway',
author_email='[email protected]',
url='https://github.com/hathawsh/yasso',
keywords='web pylons pyramid oauth oauth2 yasso',
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
zip_safe=False,
test_suite='yasso',
install_requires=requires,
entry_points="""
[paste.app_factory]
authorize = yasso.main:authorize_app
token = yasso.main:token_app
resource = yasso.main:resource_app
main = yasso.main:CompositeApp
""",
)