-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
52 lines (44 loc) · 1.51 KB
/
Copy pathsetup.py
File metadata and controls
52 lines (44 loc) · 1.51 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
"""Slocum: Better forecasts for sailors."""
DOCLINES = __doc__.split("\n")
import sys
import itertools
# multiprocessing isn't directly used, but is require for tests
# https://groups.google.com/forum/#!msg/nose-users/fnJ-kAUbYHQ/_UsLN786ygcJ
import multiprocessing
from setuptools import setup, find_packages
if sys.version_info[:2] < (2, 6):
raise RuntimeError("Python version 2.6, 2.7 required.")
MAJOR = 0
MINOR = 1
MICRO = 3
ISRELEASED = True
VERSION = '%d.%d.%d' % (MAJOR, MINOR, MICRO)
if not ISRELEASED:
VERSION = '%sa0' % VERSION
# https://software.ecmwf.int/wiki/display/GRIB/Python+package+gribapi#_details
requires = ['xray >= 0.3.1',
'pyproj >= 1.9.3',
'pandas >= 0.13.1',
'matplotlib >= 1.2.0',
'coards',
'joblib',
'retrying',
'basemap',
'requests']
setup(name='slocum',
version=VERSION,
description="Slocum -- A tool for getting smaller better forecasts to sailors",
url='http://github.com/akleeman/slocum',
author='Alex Kleeman and Markus Schweitzer',
author_email='akleeman@gmail.com',
license='MIT',
packages=find_packages(),
install_requires=requires,
tests_require=['pytest', 'pytest-coverage'],
zip_safe=False,
entry_points={'console_scripts': ['slocum=slocum.run:main']},
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
])