forked from OpenDrift/opendrift
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
42 lines (38 loc) · 1.23 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
import os
from setuptools import setup, find_packages
import unittest
def opendrift_tests():
test_loader = unittest.TestLoader()
test_suite = test_loader.discover('tests', pattern='test_*.py')
return test_suite
here = os.path.abspath(os.path.dirname(__file__))
exec(open(os.path.join(here, 'opendrift/version.py')).read())
config = {
'name': 'OpenDrift',
'description': 'OpenDrift - framework for ocean trajectory modeling',
'author': 'Knut-Frode Dagestad / MET Norway',
'url': 'https://github.com/OpenDrift/opendrift',
'download_url': 'https://github.com/OpenDrift/opendrift',
'version': __version__,
'license': 'GPLv2',
'install_requires': [
'configobj',
'numpy',
'scipy',
'matplotlib',
'netCDF4',
'pillow',
'future',
'basemap'
],
'packages': find_packages(),
'include_package_data': True,
'test_suite': 'setup.opendrift_tests',
#'use_scm_version': True,
'setup_requires': ['setuptools_scm'],
'scripts': ['opendrift/scripts/hodograph.py',
'opendrift/scripts/readerinfo.py',
'opendrift/scripts/opendrift_plot.py',
'opendrift/scripts/opendrift_animate.py']
}
setup(**config)