/
setup.py
48 lines (42 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
45
46
47
48
# BSD Licence
# Copyright (c) 2010, Science & Technology Facilities Council (STFC)
# All rights reserved.
#
# See the LICENSE file in the source distribution of this software for
# the full license text.
from setuptools import setup, find_packages
import sys, os
version = '0.3.1p3'
drs_version = '0.28'
setup(name='drslib',
version=version,
description="A library for processing the CMIP5 Data Reference Syntax",
long_description="""\
This library supports the generation of paths and filenames
corresponding to version %(drs_version)s of the CMIP Data Reference
Syntax [DRS]_.
.. [DRS] http://cmip-pcmdi.llnl.gov/cmip5/docs/cmip5_data_reference_syntax.pdf
""" % globals(),
classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
keywords='',
author='Stephen Pascoe',
author_email='Stephen.Pascoe@stfc.ac.uk',
url='http://esgf.org/esgf-drslib-site/',
download_url='http://ndg.nerc.ac.uk/dist',
license='BSD',
packages=find_packages(exclude=['ez_setup', 'examples', 'test']),
include_package_data=True,
zip_safe=False,
install_requires=[
'metaconfig',
# For cmip5_product_identifier
'xlrd',
],
#tests_require=['NoseXUnit'],
entry_points= {
'console_scripts': ['translate_cmip3 = drslib.translate_cmip3:main',
'drs_tool = drslib.drs_command:main',
'drs_checkthredds = drslib.thredds:main'],
},
test_suite='nose.collector',
)