forked from jnettels/trnpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
63 lines (51 loc) · 1.93 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
# Copyright (C) 2020 Joris Zimmermann
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see https://www.gnu.org/licenses/.
"""TRNpy: Parallelized TRNSYS simulation with Python.
TRNpy: Parallelized TRNSYS simulation with Python
=================================================
Simulate TRNSYS deck files in serial or parallel and use parametric tables to
perform simulations for different sets of parameters. TRNpy helps to automate
these and similar operations by providing functions to manipulate deck files
and run TRNSYS simulations from a programmatic level.
Module Setup
------------
Run with the following command prompt to install into Python environment:
.. code::
python setup.py install
"""
from setuptools import setup
# The setup function
setup(
name="trnpy",
version="0.10.2",
description="Parallelized TRNSYS simulation with Python",
long_description=open("README.md").read(),
license="GPL-3.0",
author="Joris Zimmermann",
author_email="[email protected]",
url="https://github.com/jnettels/trnpy",
install_requires=[
"pandas>=0.24.1",
"psutil",
"pyyaml",
"bokeh",
"openpyxl"
],
python_requires=">=3.7",
packages=["trnpy", "trnpy/examples"],
package_data={
"trnpy/examples": ["Parametrics.xlsx"],
},
entry_points={
"console_scripts": ["trnpy = trnpy.trnpy_script:main"],
},
)