forked from NREL/flasc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
94 lines (84 loc) · 2.2 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
"""The setup script."""
from pathlib import Path
from setuptools import find_packages, setup
# Package meta-data.
NAME = "flasc"
DESCRIPTION = (
"FLASC provides a rich suite of analysis tools for SCADA data filtering & analysis, "
" wind farm model validation, field experiment design, and field experiment monitoring."
)
URL = "https://github.com/NREL/flasc"
EMAIL = "paul.fleming@nrel.gov"
AUTHOR = "NREL National Wind Technology Center"
# What packages are required for this module to be executed?
REQUIRED = [
"bokeh~=3.1",
"floris~=3.4",
"feather-format~=0.0",
"ipympl~=0.9",
"matplotlib~=3.6",
"numpy~=1.20",
"pandas~=2.0",
"pyproj~=3.0",
"SALib~=1.0",
"scipy~=1.1",
"sqlalchemy~=2.0",
"streamlit~=1.0",
"tkcalendar~=1.0",
"seaborn~=0.0",
"polars==0.19.5",
"ephem",
]
EXTRAS = {
"docs": {
"jupyter-book<=0.13.3",
"sphinx-book-theme",
"sphinx-autodoc-typehints",
"sphinxcontrib-autoyaml",
"sphinxcontrib.mermaid",
},
"develop": {
"pytest",
"pre-commit",
"ruff",
"isort",
},
}
ROOT = Path(__file__).parent
with open(ROOT / "flasc" / "version.py") as version_file:
VERSION = version_file.read().strip()
with open("README.md") as readme_file:
README = readme_file.read()
setup_requirements = [
# Placeholder
]
test_requirements = [
# Placeholder
]
setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
long_description=README,
author=AUTHOR,
author_email=EMAIL,
url=URL,
packages=find_packages(include=["flasc*"]),
entry_points={"console_scripts": ["flasc=flasc.cli:main"]},
include_package_data=True,
install_requires=REQUIRED,
extras_require=EXTRAS,
license="Apache Software License 2.0",
zip_safe=False,
keywords="flasc",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
],
test_suite="tests",
tests_require=test_requirements,
setup_requires=setup_requirements,
)