forked from architecture-building-systems/CityEnergyAnalyst
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
79 lines (71 loc) · 2.5 KB
/
setup.py
File metadata and controls
79 lines (71 loc) · 2.5 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
"""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__ = "cea@arch.ethz.ch"
__status__ = "Production"
with open('README.rst', 'r') as f:
LONG_DESCRIPTION = f.read()
INSTALL_REQUIRES = ['SALib',
"cufflinks",
'deap',
'ephem',
'flask-restplus',
'flask-socketio',
'geopandas',
'gevent',
'ipython',
# 'jupyter',
'mock',
'numba',
'openpyxl',
'osmnx',
'plotly',
'psutil',
'py4design_cea',
'pymc3',
'pysal',
'pyyaml',
'requests',
'seaborn',
'setuptools',
'sphinx',
'staticmap',
'sympy',
'timezonefinder',
'twine',
'utm',
'wntr',
'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='cea@arch.ethz.ch',
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"],
},
)