forked from geopython/pywps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
72 lines (62 loc) · 2.18 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
##################################################################
# Copyright 2016 OSGeo Foundation, #
# represented by PyWPS Project Steering Committee, #
# licensed under MIT, Please consult LICENSE.txt for details #
##################################################################
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('VERSION.txt') as ff:
VERSION = ff.read().strip()
DESCRIPTION = ('PyWPS is an implementation of the Web Processing Service '
'standard from the Open Geospatial Consortium. PyWPS is '
'written in Python.')
KEYWORDS = 'PyWPS WPS OGC processing'
with open('requirements.txt') as f:
INSTALL_REQUIRES = f.read().splitlines()
with open('requirements-py2.txt') as f:
INSTALL_REQUIRES_PY2 = f.read().splitlines()
CONFIG = {
'name': 'pywps',
'version': VERSION,
'description': DESCRIPTION,
'keywords': KEYWORDS,
'license': 'MIT',
'platforms': 'all',
'author': 'Jachym Cepicky',
'author_email': '[email protected]',
'maintainer': 'Jachym Cepicky',
'maintainer_email': '[email protected]',
'url': 'http://pywps.org',
'download_url': 'https://github.com/geopython/pywps',
'classifiers': [
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Scientific/Engineering :: GIS'
],
'install_requires': INSTALL_REQUIRES,
'packages': [
'pywps',
'pywps/app',
'pywps/inout',
'pywps/resources',
'pywps/response',
'pywps/validator',
'pywps/inout/formats',
'pywps/processing',
],
'scripts': [],
'entry_points': {
'console_scripts': [
'joblauncher=pywps.processing.job:launcher', ]},
}
if sys.version_info.major < 3:
CONFIG['install_requires'] += INSTALL_REQUIRES_PY2
setup(**CONFIG)