forked from pytroll/mpop
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
68 lines (57 loc) · 2.54 KB
/
setup.py
File metadata and controls
68 lines (57 loc) · 2.54 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (c) 2009-2012.
# SMHI,
# Folkborgsvägen 1,
# Norrköping,
# Sweden
# Author(s):
# Martin Raspaud <martin.raspaud@smhi.se>
# Adam Dybbroe <adam.dybbroe@smhi.se>
# This file is part of mpop.
# mpop 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.
# mpop 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 mpop. If not, see <http://www.gnu.org/licenses/>.
"""Setup file for mpop.
"""
import os.path
from setuptools import setup
BASE_PATH = os.path.sep.join(os.path.dirname(
os.path.realpath(__file__)).split(os.path.sep))
NAME = 'mpop'
setup(name=NAME,
version="v0.11.0",
description='Meteorological post processing package',
author='Martin Raspaud',
author_email='martin.raspaud@smhi.se',
packages=['mpop', 'mpop.satellites', 'mpop.instruments', 'mpop.satin',
'mpop.satout', 'mpop.saturn', 'mpop.imageo'],
data_files=[('etc',[os.path.join('etc', 'geo_image.cfg')],
'etc',[os.path.join('etc', 'eps_avhrrl1b_6.5.xml')]),
(os.path.join('share', 'doc', NAME),
[os.path.join('doc', 'Makefile'),
os.path.join('doc', 'source', 'conf.py'),
os.path.join('doc', 'source', 'index.rst'),
os.path.join('doc', 'source', 'install.rst'),
os.path.join('doc', 'source', 'quickstart.rst'),
os.path.join('doc', 'source', 'image.rst'),
os.path.join('doc', 'source', 'pp.rst'),
os.path.join('doc', 'source', 'saturn.rst'),
os.path.join('doc', 'source', 'input.rst'),
os.path.join('doc', 'examples', 'geo_hrit.py'),
os.path.join('doc', 'examples', 'polar_aapp1b.py'),
os.path.join('doc', 'examples', 'polar_segments.py')])],
zip_safe=False,
requires=['numpy (>=1.4.1)'],
extras_require={ 'xRIT': ['mipp >= 0.6.0'],
'proj': ['pyresample'],
'hdf_eos': ['pyhdf'],
'aapp': ['ahamap']}
)