-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
47 lines (42 loc) · 1.17 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.path as osp
import re
from setuptools import find_packages, setup
def find_version():
with open(osp.join("analysis", "__init__.py"), "r") as f:
match = re.search(r'^__version__ = "(\d+\.\d+\.\d+)"', f.read(), re.M)
if match is not None:
return match.group(1)
raise RuntimeError("Unable to find version string.")
setup(
name="analysis-pipeline",
version=find_version(),
author="Ebad Kamil",
author_email="[email protected]",
maintainer="Ebad Kamil",
packages=find_packages(),
entry_points={
"console_scripts": [
"start_pipeline = analysis.application:start_pipeline",
"start_test_client = analysis.application:start_test_client",
"start_dash_client = analysis.application:start_dash_client",
],
},
install_requires=[
"dash>=1.6.1",
"dash-daq>=0.3.1",
"pyFAI>0.16.0",
"redis",
"pyzmq",
"psutil",
"scikit-image",
"black==20.8b1",
"flake8==3.8.4",
"isort==5.7.0",
],
extras_require={
"test": [
"pytest",
]
},
python_requires=">=3.6",
)