-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
32 lines (27 loc) · 868 Bytes
/
Copy pathsetup.py
File metadata and controls
32 lines (27 loc) · 868 Bytes
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
# -*- coding: utf-8 -*-
import re
from setuptools import find_packages, setup
with open("fetch_generated_data/__init__.py") as f:
txt = f.read()
try:
version = re.findall(r'^__version__ = "([^"]+)"\r?$', txt, re.M)[0]
except IndexError:
raise RuntimeError("Unable to determine version.")
setup(
name="fetch-generated-data",
version=version,
python_requires=">=3.7.0",
install_requires=[
"numpy==1.18.5",
"opencv-python==4.2.0.34",
"argparse-path @ git+ssh://git@github.com/Synthesis-AI-Dev/argparse-path#egg=argparse-path-0.1",
],
include_package_data=True,
description="Creates synthesis model from pca coefficients",
packages=find_packages(),
entry_points={
"console_scripts": [
"fetch-generated-data=fetch_generated_data.main:main",
]
},
)