-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
executable file
·60 lines (48 loc) · 1.27 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
#!/usr/bin/env python3
import ats.auth
from setuptools import setup, find_packages
PROJECT = 'ats.auth'
try:
long_description = open('README.rst', 'rt').read()
except IOError:
long_description = ''
setup(
name=PROJECT,
version=ats.auth.version,
description='AiC Test Services',
long_description=long_description,
author='Jenkins',
author_email='[email protected]',
install_requires=[
'ats.client',
# server
'aiohttp',
'python-jose',
'aiopg',
'ats.util',
'structlog',
],
extras_require={
'docs': (
'sphinx',
'sphinx_rtd_theme',
'sphinxcontrib-httpdomain',
'sphinxcontrib-programoutput',
)},
namespace_packages=['ats'],
packages=find_packages(),
include_package_data=True,
entry_points={
'console_scripts': [
'ats-auth = ats.auth.client.app:main',
'ats-auth-server = ats.auth.server.main:main',
],
# for Cliff
'ats_auth': [
'token create = ats.auth.client.tokens:Create',
'token revoke = ats.auth.client.tokens:Logout',
'token revoke-all = ats.auth.client.tokens:LogoutAll',
]
},
zip_safe=False,
)