-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
50 lines (44 loc) · 1.38 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
48
49
50
"""Module to setup the library. All library dependencies are added here.
"""
import os
import sys
from setuptools import find_packages, setup
print(find_packages(), file=sys.stderr)
# Due to a dependency conflict with a package used by tsfresh, the numpy
# version has to be below <= 1.20.
NUMPY_VERSION = "numpy <= 1.20"
dir_path = os.path.dirname(os.path.realpath(__file__))
with open(dir_path + "/README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name="tasrif",
author="QCRI",
author_email="uabbas@hbku.edu.qa",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/qcri/tasrif",
version="0.1.0",
packages=find_packages(),
license=" BSD-3-Clause",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
],
python_requires=">= 3.7",
install_requires=[
"pandas >= 1.1.1",
NUMPY_VERSION,
"pyjq >= 2.5.1",
"ummalqura >= 2.0.1",
"scikit-learn >= 0.22.1",
"tqdm >= 4.52.0",
"ray >= 1.7.0",
"dataprep >= 0.3.0",
],
# numpy also needs to be specified in setup_requires,
# see https://github.com/numpy/numpy/issues/2434#issuecomment-65252402
setup_requires=[
NUMPY_VERSION,
],
)