-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·105 lines (103 loc) · 3.51 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
#!/usr/bin/env python
# -*- encoding: utf8 -*-
import sys
from setuptools import setup, find_packages
from tomatic import __version__
readme = open("README.md").read()
setup(
name = "tomatic",
version = __version__,
description = "Phone Support Helper",
author = "David García Garzón",
author_email = "david.garcia@somenergia.coop",
url = 'https://github.com/Som-Energia/somenergia-tomatic',
long_description = readme,
long_description_content_type = 'text/markdown',
license = 'GNU Affero General Public License v3 or later (GPLv3+)',
packages=find_packages(exclude=['*[tT]est*']),
python_requires='>=3.9.4',
scripts=[
'scripts/areavoip_callapi.py',
'scripts/areavoip_dumpstats.sh',
'scripts/execution_example.sh',
'scripts/crontab-dailyreport.sh',
'scripts/crontab-warnturn.sh',
'scripts/crontab-launchtimetable.sh',
'runhere',
'scripts/tomatic_api.py',
'scripts/tomatic_busy.py',
'scripts/tomatic_callinfo.py',
'scripts/tomatic_calls.py',
'scripts/tomatic_dailyreport.py',
'scripts/tomatic_extensions.py',
'scripts/tomatic_import_data.py',
'scripts/tomatic_mergeshifts.py',
'scripts/tomatic_resetshiftcredit.sh',
'scripts/tomatic_retrieve.py',
'scripts/tomatic_rtqueue.py',
'scripts/tomatic_timetable.py',
'scripts/tomatic_timetablelauncher.py',
'scripts/tomatic_says.py',
'scripts/tomatic_scheduler.py',
'scripts/tomatic_shiftload.py',
'scripts/tomatic_stats.py',
'scripts/tomatic_uploadtimetable.py',
],
install_requires=[
'setuptools>=20.4',
'MarkupSafe',
'somutils>=1.9', # use of enterContext
'tomato-cooker>=0.4.0', # api changed
'yamlns',
'consolemsg',
'py-Asterisk',
'paramiko',
'python-slugify',
'deansi',
#'ooop==0.2.2-xt',
'click',
'decorator',
'requests',
'ERPpeek',
'psutil', # execution
'pony',
'emili',
'fastapi>=0.110', # Using new api
'pydantic>=2', # Using new api
'python-multipart', # formdata in fastapi
'uvicorn[standard]', # server for fastapi (standard for websockets)
'aiofiles', # Static files for fastapi
'elasticsearch<8', # 8 version is incompatible with irontec server
'urllib3<2', # indirect, restriction from elasticsearch
'ics<0.8', # icalendar generation. 0.8 changes interface and not yet available in all Pythons
'itsdangerous', # auth
'authlib<1.0', # auth
'httpx<1', # auth, 1.0 changes API, incompatible with fastapi 0.95.0 and earlier
'python-jose[cryptography]', # auth
'pandas',
'matplotlib',
'typer',
'python-stdnum',
#],
#tests_require=[
'pytest-cov',
'pytest',
'coverage',
'b2btest',
'erppeek',
'ERPPeek-WST',
'mock',
],
classifiers = [
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Environment :: Console',
'Topic :: Communications :: Internet Phone',
'Topic :: Communications :: Telephony',
'Intended Audience :: Customer Service',
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
'Operating System :: OS Independent',
],
)
# vim: et ts=4 sw=4