-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
38 lines (34 loc) · 1.17 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
import sys
import os
from setuptools import setup, find_packages
__version__ = "0.1"
# 'setup.py publish' shortcut.
if sys.argv[-1] == "publish":
os.system("python setup.py sdist bdist_wheel")
os.system("twine upload dist/*")
sys.exit()
# 'setup.py test' shortcut.
# !pip install --index-url https://test.pypi.org/simple/ sensiml -U
if sys.argv[-1] == "test":
os.system("python setup.py sdist bdist_wheel")
os.system("twine upload --repository-url https://test.pypi.org/legacy/ dist/*")
sys.exit()
setup(
name="Anomaly",
description="Generate Anomaly data for time-series sensor data",
version=__version__,
author="SensiML",
author_email="[email protected]",
license="MIT",
classifiers=[
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
],
packages=find_packages(exclude=["*test*"]),
include_package_data=True,
long_description=open("README.md").read(),
install_requires=["scipy", "numpy>=1.13", "pandas>=0.20.3"],
)