-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
65 lines (50 loc) · 2.06 KB
/
setup.py
File metadata and controls
65 lines (50 loc) · 2.06 KB
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
# 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::
pip install .
Or use the following to install all optional dependencies:
.. code::
pip install .[full]
"""
from setuptools import setup
# The setup function
setup(
name='trnpy',
use_scm_version=True,
description='Parallelized TRNSYS simulation with Python',
long_description=open('README.md').read(),
license='GPL-3.0',
author='Joris Zimmermann',
author_email='joris.zimmermann@stw.de',
url='https://github.com/jnettels/trnpy',
install_requires=['pandas>=2.0', 'psutil', 'openpyxl'],
python_requires='>=3.7',
setup_requires=['setuptools_scm'],
extras_require={
'full': ['pyyaml', 'matplotlib', 'bokeh<3.7'],
},
packages=['trnpy', 'trnpy/examples'],
package_data={'trnpy/examples': ['Parametrics.xlsx'], },
entry_points={
'console_scripts': ['trnpy = trnpy.trnpy_script:main'],
}
)