forked from tsdat/tsdat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
49 lines (44 loc) · 1.56 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
import os
import pathlib
import setuptools
# The directory containing this file
CWD = pathlib.Path(__file__).parent
# The text of the README file
README = (CWD / "README.md").read_text()
# Get the list of dependencies from the requirements.txt file
with open(os.path.join(CWD, "requirements.txt")) as requirements_file:
# Parse requirements.txt, ignoring any commented-out lines.
REQUIREMENTS = [
line
for line in requirements_file.read().splitlines()
if not line.startswith("#")
]
version = os.environ["TSDAT_VERSION"]
assert "." in version
setuptools.setup(
name="tsdat",
version=version,
description="A data processing framework used to convert time series data into standardized format.",
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/tsdat/tsdat",
author="Carina Lansing, Maxwell Levin",
author_email="[email protected]",
license="Simplified BSD (2-clause)",
classifiers=[
"Development Status :: 3 - Alpha",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Scientific/Engineering",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
],
packages=setuptools.find_packages(exclude=["docs", "tests", "examples"]),
entry_points={"console_scripts": []},
include_package_data=True,
zip_safe=False,
install_requires=REQUIREMENTS,
scripts=[],
)