-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
67 lines (61 loc) · 1.47 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# -*- coding: utf-8 -*-
import os
import sys
from setuptools import setup, find_packages
py_version = sys.version_info[:2]
if py_version < (3, 5):
raise Exception("aiohttp requires Python >= 3.5.")
here = os.path.abspath(os.path.dirname(__file__))
NAME = 'plone.oauth'
with open(os.path.join(here, 'README.rst')) as readme:
README = readme.read()
with open(os.path.join(here, 'CHANGES.rst')) as changes:
CHANGES = changes.read()
requires = [
'aiohttp',
'aiohttp_cors',
'aiohttp_jinja2',
'pycrypto',
'ecdsa',
'aioredis',
'aiohttp_swagger',
'ujson',
'ldap3',
'pyjwt',
'requests',
'pyramid_mailer',
'validate_email',
]
setup(
name=NAME,
version='1.0',
description='Plone OAuth',
long_description=README + '\n\n' + CHANGES,
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3.5",
"Framework :: Aiohttp",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
],
author='',
author_email='',
url='',
keywords='aiohttp asyncio web wsgi',
packages=find_packages(),
namespace_packages=['plone'],
include_package_data=True,
zip_safe=False,
test_suite=NAME,
install_requires=requires,
extras_require={
'test': [
'psutil',
'pytest',
],
},
entry_points="""\
[paste.app_factory]
main = plone.oauth:main
""",
)