forked from NREL/flasc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
76 lines (68 loc) · 1.81 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
"""The setup script."""
from pathlib import Path
from setuptools import setup, find_packages
# 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 = "[email protected]"
AUTHOR = "NREL National Wind Technology Center"
# What packages are required for this module to be executed?
REQUIRED = [
'floris>=3.1',
'feather-format',
'matplotlib',
'numpy',
'numba',
'openoa',
'pandas>=1.5',
'pyproj',
'pytest',
'SALib',
'scipy',
'sqlalchemy',
'streamlit',
'tkcalendar',
'seaborn'
]
ROOT = Path(__file__).parent
with open(ROOT / "flasc" / "version.py") as version_file:
VERSION = version_file.read().strip()
with open('README.rst') 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,
license="Apache Software License 2.0",
zip_safe=False,
keywords='flasc',
classifiers=[
'Development Status :: Release',
'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,
)