forked from geekscape/aiko_services
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
47 lines (44 loc) · 1.34 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
import os
import re
from setuptools import find_packages, setup
re_version = re.compile(r".*__version__ = [\'\"](.*?)[\'\"]", re.S)
base_path = os.path.dirname(__file__)
base_package = "aiko_services"
init_path = os.path.join(base_path, base_package, "__init__.py")
with open(init_path, "r") as init_file:
module_content = init_file.read()
match = re_version.match(module_content)
if match:
version = match.group(1)
else:
raise RuntimeError("Cannot find __version__ in {}".format(init_path))
setup(
name="aiko-services",
version=version,
description="Asynchronous message service framework",
author="Andy Gelme",
author_email="[email protected]",
packages=find_packages(),
install_requires=[
"asciimatics>=1.14.0",
"avro>=1.11.1",
"avro-validator>=1.2.1",
"click>=8.0",
"numpy>=1.19.1",
"paho-mqtt>=1.6.1",
"Pillow>=9.0.0",
"PyAudio>=0.2.13",
"requests>=2.25.1",
"transitions>=0.9.0",
"wrapt>=1.12.1",
"xerox>=0.4.1"
],
entry_points={
"console_scripts": [
"aiko = aiko_services.cli:main",
"aiko_dashboard = aiko_services.dashboard:main",
"aiko_pipeline = aiko_services.pipeline:main",
"aiko_registrar = aiko_services.registrar:main"
]
}
)