forked from blue-yonder/tsfresh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
30 lines (24 loc) · 866 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Setup file for tsfresh.
This file was generated with PyScaffold 2.5.6, a tool that easily
puts up a scaffold for your new Python project. Learn more under:
http://pyscaffold.readthedocs.org/
"""
import sys
from setuptools import setup, find_packages
with open("README.md") as f:
long_description = f.read()
with open("requirements.txt") as f:
requirements = [line for line in f if not line.startswith("#")]
needs_sphinx = {"build_sphinx", "upload_docs"}.intersection(sys.argv)
sphinx = ["sphinx", "sphinx_rtd_theme"] if needs_sphinx else []
setup(
use_scm_version=True,
long_description=long_description,
long_description_content_type="text/markdown",
setup_requires=["six", "setuptools_scm"] + sphinx,
packages=find_packages(),
install_requires=requirements,
)