-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
46 lines (36 loc) · 1.21 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
import subprocess
import sys
from setuptools import Command, setup
class RunTests(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
errno = subprocess.call([sys.executable, "-m", "unittest", "clients.tests"])
raise SystemExit(errno)
with open("README.md") as readme:
long_description = readme.read()
setup(
name="mapservice-clientlib",
description="Library to query mapservices including ArcGIS, THREDDS, WMS and ScienceBase",
long_description=long_description,
long_description_content_type="text/markdown",
keywords="arcgis,thredds,ncwms,wms,sciencebase,geospatial,gis,mapservice,map service,clients,mapservice_clientlib",
version="2.3.0",
packages=["clients", "clients.query", "clients.utils"],
install_requires=[
"gis-metadata-parser>=2.0",
"parserutils>=2.0.1",
"restle>=0.5.1",
"Pillow>=9.5",
"pyproj==2.6.1",
"python-ags==0.3.2",
"sciencebasepy==2.*",
],
tests_require=["mock", "requests-mock"],
url="https://github.com/consbio/mapservice-clientlib",
license="BSD",
cmdclass={"test": RunTests},
)