-
Notifications
You must be signed in to change notification settings - Fork 549
/
setup.py
56 lines (47 loc) · 1.64 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
51
52
53
54
55
56
#!/usr/bin/env python3
# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
import os
from setuptools import find_packages, setup
# read long description from README
with open("README.md", "r") as f:
long_description = f.read()
# read dependency requirements
with open("requirements.txt", "r") as f:
install_requires = f.read().splitlines()
# optional dependencies skipped when MINIMAL_KATS=1
with open("test_requirements.txt", "r") as f:
extra_requires = f.read().splitlines()
if not os.environ.get("MINIMAL_KATS", False):
install_requires += extra_requires
setup(
name="kats",
packages=find_packages(),
version="0.2.0",
license="MIT",
description="kats: kit to analyze time series",
author="facebook",
author_email="[email protected]",
url="https://github.com/facebookresearch/Kats",
download_url="https://github.com/facebookresearch/Kats/archive/refs/tags/v0.2.tar.gz",
keywords=[
"time series",
"forecasting",
"anomaly detection",
"tsfeatures",
"temporal embedding",
],
install_requires=install_requires,
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
long_description=long_description,
long_description_content_type="text/markdown",
)