forked from nicojourdain/misomip2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
38 lines (34 loc) · 1.46 KB
/
setup.py
File metadata and controls
38 lines (34 loc) · 1.46 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
#!/usr/bin/env python
import os
import re
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'misomip2', '__init__.py')) as f:
init_file = f.read()
version = re.search(r'{}\s*=\s*[(]([^)]*)[)]'.format('__version_info__'),
init_file).group(1).replace(', ', '.')
setup(name='misomip2',
version=version,
description='A python package to postprocess model outputs '
'to standard MISOMIP2 format and to analyse '
'MISOMIP2 multi-model outputs.',
url='https://github.com/nicojourdain/misomip2',
author='Nicolas C. Jourdain',
author_email='nicolas.jourdain@univ-grenoble-alpes.fr',
license='MIT',
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Intended Audience :: Science/Research',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Topic :: Scientific/Engineering',
],
packages=find_packages(),
package_data={'misomip2': ['config.default']},
install_requires=['numpy', 'scipy', 'matplotlib', 'netCDF4', 'xarray',
'dask', 'pandas', 'cmocean'],
entry_points={'console_scripts':
['misomip2 = misomip2.__main__:main']})