This repository has been archived by the owner on Jan 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
65 lines (61 loc) · 2.38 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
from setuptools import find_packages, setup
with open('tipsi_tools/__init__.py', 'r') as f:
for line in f:
if line.startswith('__version__'):
version = line.strip().split('=')[1].strip(' \'"')
break
with open('README.md', 'r', encoding='utf-8') as f:
readme = f.read()
SANIC = 'sanic'
setup(
name='tipsi_tools',
packages=find_packages(exclude=('tests', 'django_tests.*', 'django_tests')),
version=version,
description='Various python stuff: testing, aio helpers, etc',
long_description=readme,
long_description_content_type='text/markdown',
author='cybergrind',
author_email='[email protected]',
url='http://github.com/tipsi/tipsi_tools',
keywords=['testing', 'asyncio'],
install_requires=['pyyaml>=3.12', 'python-json-logger>=0.1.5'],
extras_require={
'doc_utils': [
'rest_framework_dyn_serializer>=1.3.*',
'docutils',
'djangorestframework==3.7.*',
],
'logging': ['safe-logger>=1.2.1', 'python-json-logger==0.1.7'],
'aio_utils': ['aiopg', 'psycopg2-binary'],
'monitoring': [SANIC],
'gitlab_monitoring': ['python-gitlab==1.0.2', SANIC],
},
tests_require=['pytest==3.1.3'],
entry_points={
'console_scripts': [
'tipsi_env_yaml=tipsi_tools.scripts.tipsi_env_yaml:main',
'tipsi_ci_script=tipsi_tools.scripts.tipsi_ci_script:main',
'tipsi_wait=tipsi_tools.scripts.tipsi_tools_wait:main',
'run_filebeat=tipsi_tools.scripts.run_filebeat:main',
'doc_serializer=tipsi_tools.doc_utils.tipsi_sphinx.dyn:main',
]
},
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: MacOS',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX',
'Operating System :: POSIX :: Linux',
'Operating System :: Unix',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Software Development',
'Topic :: Software Development :: Libraries',
'Topic :: Utilities',
],
)