-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
35 lines (26 loc) · 798 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
import os
import sys
from setuptools import find_packages, setup
def get_script_path():
return os.path.dirname(os.path.realpath(sys.argv[0]))
def get_version():
with open(get_script_path() + '/VERSION', 'r') as f:
return f.read()
def get_requirements():
with open('requirements.txt') as f:
requirements = f.read().splitlines()
return requirements
setup(name="time-series",
version=get_version(),
packages=find_packages(),
install_requires=get_requirements(),
package_data={
'': ['*.yaml'],
},
data_files=[("", ["VERSION"])],
entry_points={},
author="ktatarnikov",
author_email="[email protected]",
description="TimeSeries",
license="Apache2",
keywords="time series")