forked from lbl-srg/BuildingsPy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
71 lines (66 loc) · 2.21 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
import io
import platform
import os
from setuptools import setup
# Python setup file.
# See http://packages.python.org/an_example_pypi_project/setuptools.html
MAIN_PACKAGE = 'buildingspy'
PACKAGE_PATH = os.path.abspath(os.path.join(os.path.dirname(__file__), MAIN_PACKAGE))
# Version.
version_path = os.path.join(PACKAGE_PATH, 'VERSION')
with open(version_path) as f:
VERSION = f.read().strip()
# Readme.
readme_path = os.path.abspath(os.path.join(os.path.dirname(__file__), 'README.rst'))
with io.open(readme_path, encoding='utf-8') as f: # io.open for Python 2 support with encoding
README = f.read()
setup(
name=MAIN_PACKAGE,
version=VERSION,
author="Michael Wetter",
author_email="mwetter@lbl.gov",
description=(
"Package for simulating and testing models from the Modelica Buildings and IBPSA libraries"),
long_description=README,
long_description_content_type='text/x-rst',
license="3-clause BSD",
keywords="modelica dymola openmodelica mat",
url="http://simulationresearch.lbl.gov/modelica/",
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*',
install_requires=[
'future>=0.16',
'gitpython>=2.1',
'jinja2>=2.10',
'matplotlib>=2.2',
'numpy>=1.14',
'pytidylib>=0.3.2',
'scipy>=1.1',
'simplejson>=3.14',
'six>=1.11',
'pyfunnel>=0.2.2',
],
packages=[
MAIN_PACKAGE,
'buildingspy/development',
'buildingspy/examples',
'buildingspy/fmi',
'buildingspy/io',
'buildingspy/simulate',
'buildingspy/thirdParty',
'buildingspy/thirdParty.dymat',
'buildingspy/thirdParty.dymat.DyMat',
'buildingspy/thirdParty.dymat.DyMat.Export',
],
include_package_data=True,
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.6",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Utilities",
],
)