forked from iiasa/ixmp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
53 lines (46 loc) · 1.26 KB
/
Copy pathsetup.py
File metadata and controls
53 lines (46 loc) · 1.26 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
#!/usr/bin/env python
import glob
from setuptools import find_packages, setup
import versioneer
with open('README.md', 'r') as f:
LONG_DESCRIPTION = f.read()
INSTALL_REQUIRES = [
'JPype1>=0.7',
'click',
'dask[array]',
'graphviz',
'pandas',
'pint',
'PyYAML',
'xarray',
'xlsxwriter',
'xlrd',
]
EXTRAS_REQUIRE = {
'tests': ['codecov', 'jupyter', 'pretenders>=1.4.4', 'pytest-cov',
'pytest>=3.9'],
'docs': ['numpydoc', 'sphinx', 'sphinx_rtd_theme', 'sphinxcontrib-bibtex'],
'tutorial': ['jupyter'],
}
LIB_FILES = [x.split('ixmp/')[-1] for x in glob.glob('ixmp/lib/*')]
setup(
name='ixmp',
version=versioneer.get_version(),
description='ix modeling platform',
author='IIASA Energy Program',
author_email='message_ix@iiasa.ac.at',
long_description=LONG_DESCRIPTION,
long_description_content_type='text/markdown',
url='https://github.com/iiasa/ixmp',
cmdclass=versioneer.get_cmdclass(),
install_requires=INSTALL_REQUIRES,
extras_require=EXTRAS_REQUIRE,
packages=find_packages(),
package_dir={'ixmp': 'ixmp'},
package_data={'ixmp': ['ixmp.jar'] + LIB_FILES},
entry_points={
'console_scripts': [
'ixmp=ixmp.cli:main',
],
},
)