forked from architecture-building-systems/CityEnergyAnalyst
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
63 lines (55 loc) · 2.09 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
"""Installation script for the City Energy Analyst"""
import os
from setuptools import setup, find_packages
import cea
__author__ = "Daren Thomas"
__copyright__ = "Copyright 2017, Architecture and Building Systems - ETH Zurich"
__credits__ = ["Daren Thomas"]
__license__ = "MIT"
__version__ = cea.__version__
__maintainer__ = "Daren Thomas"
__email__ = "[email protected]"
__status__ = "Production"
with open('README.rst', 'r') as f:
LONG_DESCRIPTION = f.read()
# TODO: Only install the bare minimum deps here, since it might modify any versions installed using conda
INSTALL_REQUIRES = ["cufflinks",
'flask-restx',
'flask-cors',
'flask-socketio',
'ipython',
'mock',
'plotly',
'psutil',
'pyyaml',
'requests',
'setuptools',
'sphinx',
'staticmap',
'xlrd',
'xlwt']
# For building the documentation on readthedocs, exclude some of the packages, as they create build errors...
if os.environ.get('READTHEDOCS') == 'True':
INSTALL_REQUIRES = ['setuptools']
setup(name='cityenergyanalyst',
version=__version__,
description='City Energy Analyst',
license='MIT',
author='Architecture and Building Systems',
author_email='[email protected]',
url='http://cityenergyanalyst.com',
long_description=LONG_DESCRIPTION,
py_modules=[''],
packages=find_packages(),
package_data={},
install_requires=INSTALL_REQUIRES,
include_package_data=True,
entry_points={
'console_scripts': ['cea=cea.interfaces.cli.cli:main',
'cea-config=cea.interfaces.cli.cea_config:main',
'cea-doc=cea.interfaces.cli.cea_doc:main',
'cea-dev=cea.interfaces.cli.cea_dev:main',
'cea-worker=cea.worker:main',
"cea-plot=cea.plots.plot_cli:main"],
},
)