-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
37 lines (28 loc) · 874 Bytes
/
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
# -*- coding: utf-8 -*-
"""Package configuration for setuptools."""
from setuptools import find_packages, setup
VERSION = "0.1"
def write_version_py(filename="demos_segmentation/version.py"):
"""Dynamically write App version file."""
msg = "# This file is dynamically generated\n"
version = f"version = '{VERSION}'"
with open(filename, "w") as fd:
fd.write(msg)
fd.write("\n")
fd.write(version)
fd.write("\n")
setup(
name="demos-segmentation",
version=VERSION,
description="DEMOS records segmentation",
url="",
author="demos@fit",
author_email=["[email protected]",],
install_requires=["Flask", "flask-restx", "opencv-python-headless",],
license="MIT",
packages=find_packages(),
zip_safe=False,
python_requires=">=3.6",
)
if __name__ == "__main__":
write_version_py()