-
Notifications
You must be signed in to change notification settings - Fork 31
/
setup.py
44 lines (37 loc) · 1.54 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
from setuptools import setup, find_packages
import sys
import os
sys.path.insert(0, os.path.abspath(os.path.dirname(__file__)) + '/src')
__version__ = __import__('cfchecker').__version__
# Need to try/except this because pip install unpacks to a different dir and
# relative path lookup fails. Should still work where needed.
try:
__description__ = "\n" + open(os.path.join(os.path.dirname(__file__), 'README.md')).read()
except:
__description__ = ""
setup(name='cfchecker',
version=__version__,
description="The NetCDF Climate Forecast Conventions compliance checker",
long_description=__description__,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Topic :: Software Development :: Libraries',
'Topic :: Scientific/Engineering :: Atmospheric Science',
'Intended Audience :: Science/Research',
'Natural Language :: English',
'License :: OSI Approved :: BSD License',
'Operating System :: MacOS',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
],
keywords='',
author='Rosalyn Hatcher',
author_email='[email protected]',
url='http://cfconventions.org/compliance-checker.html',
package_dir={'': 'src'},
packages=find_packages('src'),
include_package_data=True,
zip_safe=False,
install_requires=['netCDF4', 'numpy>=1.7', 'cfunits>=3.0.0', 'future'],
entry_points={'console_scripts': ['cfchecks = cfchecker.cfchecks:main']},
)