forked from rom-py/rompy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
59 lines (55 loc) · 1.9 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
55
56
57
58
59
#!/usr/bin/env python
#-----------------------------------------------------------------------------
# Copyright (c) 2020 - 2021, CSIRO
#
# All rights reserved.
#
# The full license is in the LICENSE file, distributed with this software.
#-----------------------------------------------------------------------------
from setuptools import setup, find_packages
import sys
import versioneer
requires = [line.strip() for line in open('requirements.txt').readlines()
if not line.startswith("#")]
extras_require = {}
extras_require['complete'] = sorted(set(sum(extras_require.values(), [])))
# Only include pytest-runner in setup_requires if we're invoking tests
if {'pytest', 'test', 'ptr'}.intersection(sys.argv):
setup_requires = ['pytest-runner']
else:
setup_requires = []
setup(
name='rompy',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description='Relocatable Ocean Modelling in PYthon (rompy)',
url='https://github.com/rom-py/rompy',
maintainer='Paul Branson',
maintainer_email='[email protected]',
license='BSD',
package_data={'': ['*.csv', '*.yml', '*.yaml', '*.html']},
include_package_data=True,
install_requires=requires,
packages=find_packages(),
entry_points={
'intake.drivers': [
'netcdf_fcstack = rompy.intake:NetCDFFCStackSource'
],
'intake.catalogs': [
'rompy_data = rompy:cat'
]
},
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
python_requires=">=3.6",
long_description=open('README.md').read(),
long_description_content_type="text/markdown",
tests_require=['pytest'],
extras_require=extras_require,
zip_safe=False,
)