-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
40 lines (35 loc) · 1.07 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
#import ez_setup
#ez_setup.use_setuptools()
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)
setup(
name='GcisPyClient',
version='1.2.1',
author='Andrew Buddenberg',
author_email='andrew.buddenberg@noaa.gov',
packages=find_packages(),
scripts=['bin/example', 'bin/sync_surveys.py', 'bin/sync_states.py'],
url='http://data.globalchange.gov',
description='Client for GCIS webservices',
long_description=open('README.md').read(),
license='New BSD',
data_files=[("", ["LICENSE.txt", "README.md"])],
install_requires=[
"requests >= 2.1.0",
"python-dateutil >= 2.2",
"PyYAML >= 3.11",
"beautifulsoup4 >= 4.3.2",
"pytest >= 2.5.2"
],
cmdclass={'test': PyTest},
)