forked from cghoffmann/mjoindices
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
54 lines (43 loc) · 2.07 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
# -*- coding: utf-8 -*-
"""
Provides information for the installation routines.
"""
# Copyright (C) 2019 Christoph G. Hoffmann. All rights reserved.
# This file is part of mjoindices
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
# Contact: [email protected]
from setuptools import setup
import versioneer
import os
packages=['mjoindices', 'mjoindices.omi']
with open(os.path.join(os.path.dirname(__file__), 'README.md'), 'r') as f:
long_description = f.read()
setup(name='mjoindices',
packages=packages,
package_dir={'': 'src'},
# package_data={'mjoindices': ['./src/mjoindices/omi/sign_reference/eof1/eof001.txt','./src/mjoindices/omi/sign_reference/eof2/eof001.txt'], },
include_package_data=True,
zip_safe=False,
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
install_requires=['numpy', 'pandas', 'scipy', 'matplotlib', 'netCDF4'],
extras_require={
'full_func': ['eofs', 'xarray', 'jupyter'],
'dev': ['build', 'pytest', 'pytest-pep8', 'tox', 'sphinx', 'm2r2', 'sphinx_rtd_theme', 'twine'],
},
author='Christoph G. Hoffmann',
author_email="[email protected]",
url="https://github.com/cghoffmann/mjoindices",
description="Calculation of indices that describe the Madden-Julian-Oscillation (only OMI by now)",
long_description_content_type="text/markdown",
long_description=long_description,
license="GNU General Public License v3")