forked from pycaret/pycaret
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup_ts_alpha.py
58 lines (48 loc) · 1.84 KB
/
setup_ts_alpha.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
51
52
53
54
55
56
57
58
# Copyright (C) 2019-2020 Moez Ali <[email protected]>
# License: MIT, [email protected]
import time
from setuptools import find_packages, setup
nightly_version = "3.0.0"
def readme():
with open("README.md") as f:
README = f.read()
return README
with open("requirements.txt") as f:
required = f.read().splitlines()
with open("requirements-optional.txt") as f:
required_optional = f.read()
with open("requirements-test.txt") as f:
required_test = f.read().splitlines()
setup(
name="pycaret-ts-alpha",
version=str(nightly_version) + ".dev" + str(int(time.time())),
description="PyCaret - An open source, low-code machine learning library in Python.",
long_description=readme(),
long_description_content_type="text/markdown",
url="https://github.com/pycaret/pycaret",
author="Moez Ali",
author_email="[email protected]",
license="MIT",
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
packages=find_packages(include=["pycaret*"]),
include_package_data=True,
install_requires=required,
extras_require={
"analysis": required_optional.split("\n\n")[0].splitlines(),
"models": required_optional.split("\n\n")[1].splitlines(),
"tuners": required_optional.split("\n\n")[2].splitlines(),
"mlops": required_optional.split("\n\n")[3].splitlines(),
"nlp": required_optional.split("\n\n")[4].splitlines(),
"full": required_optional.splitlines(),
},
tests_require=required_test,
python_requires=">=3.7",
)