setup.py 986 Bytes
Newer Older
1
2
#import ez_setup
#ez_setup.use_setuptools()
3

4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
import sys


class PyTest(TestCommand):
    def finalize_options(self):
        TestCommand.finalize_options(self)
        self.test_args = []
        self.test_suite = True

    def run_tests(self):
        import pytest
        errno = pytest.main(self.test_args)
        sys.exit(errno)
abuddenberg's avatar
abuddenberg committed
19
20
21

setup(
    name='GcisPyClient',
22
    version='1.0',
abuddenberg's avatar
abuddenberg committed
23
24
    author='Andrew Buddenberg',
    author_email='andrew.buddenberg@noaa.gov',
25
    packages=find_packages(),
26
    scripts=['bin/example', 'bin/problems', 'bin/sync_figures'],
abuddenberg's avatar
abuddenberg committed
27
    url='http://data.globalchange.gov',
28
    description='Client for GCIS webservices',
abuddenberg's avatar
abuddenberg committed
29
30
31
    long_description=open('README.txt').read(),
    install_requires=[
        "requests >= 2.1.0",
32
33
        "python-dateutil >= 2.2",
        "PyYAML >= 3.11"
abuddenberg's avatar
abuddenberg committed
34
    ],
35
36
    tests_require=["pytest >= 2.5.2"],
    cmdclass={'test': PyTest},
abuddenberg's avatar
abuddenberg committed
37
)