forked from AB-CE/abce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
50 lines (39 loc) · 1.62 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
import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
import platform
cmdclass = {}
install_requires = ['flexx >= 0.4.1',
'future',
'normality == 0.6.1',
'dataset == 0.8']
readthedocs = os.environ.get('READTHEDOCS') == 'True'
if not readthedocs:
if not platform.python_implementation() == "PyPy":
install_requires += ['numpy >= 1.10.2p']
if ('APPVEYOR' not in os.environ) or ('TRAVIS' not in os.environ):
install_requires += ['pandas >= 0.17.1',
'bokeh == 0.12.16',
'tornado == 4.3']
version = '0.9.7b0'
setup(name='abcEconomics',
version=version,
author='Davoud Taghawi-Nejad',
author_email='[email protected]',
description='Agent-Based Complete Economy modelling platform',
url='https://github.com/AB-CE/abce.git',
package_dir={'abcEconomics': 'abcEconomics',
'abcEconomics.gui': 'abcEconomics/gui',
'abcEconomics.agents': 'abcEconomics/agents',
'abcEconomics.contracts': 'abcEconomics/contracts',
'abcEconomics.logger': 'abcEconomics/logger',
'abcEconomics.scheduler': 'abcEconomics/scheduler'
},
packages=['abcEconomics'],
long_description=open('README.rst').read(),
setup_requires=['setuptools>=18.0', 'cython'],
install_requires=install_requires,
include_package_data=True,
cmdclass=cmdclass)