Skip to content

Commit 7d0a7c8

Browse files
committed
update README, normalize text, abstract version
1 parent aed9f6b commit 7d0a7c8

File tree

8 files changed

+101
-55
lines changed

8 files changed

+101
-55
lines changed

CONTRIBUTORS.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
Contributors to PyWPS-4
2-
=======================
1+
# Contributors to PyWPS
32

43
* Jachym Cepicky [jachym] jachym.cepicky gmail com
54
* Alex Morega [mgax] alex grep ro
65
* Calin Ciociu [noctalin] calin.ciociu gmail com
76
* Luís de Sousa [ldesousa] luis.a.de.sousa gmail com
7+
* Tom Kralidis [tomkralidis] tomkralidis gmail com
8+
9+
Full list at <http://pywps.org/contributors>

LICENSE.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (C) 2014-2015 PyWPS Development Team, represented by Jachym Cepicky
1+
Copyright (C) 2014-2016 PyWPS Development Team, represented by Jachym Cepicky
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy
44
of this software and associated documentation files (the "Software"), to

MANIFEST.in

+2-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
recursive-include pywps/schemas *
1+
include *.txt
2+
recursive-include pywps/schemas *

README.md

+24-35
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,25 @@
1-
pywps-4
2-
=======
1+
# PyWPS
32

4-
New version of PyWPS, written from scratch.
3+
PyWPS is an implementation of the Web Processing Service standard from
4+
the Open Geospatial Consortium. PyWPS is written in Python.
55

6-
* [Documentation](http://pywps.rtfd.org), hosted by ReadTheDocs.
7-
* Continuous integration with Travis:
8-
[![Build Status](https://travis-ci.org/PyWPS/pywps-4.png)](https://travis-ci.org/PyWPS/pywps-4)
6+
[![Documentation Status](https://readthedocs.org/projects/pywps/badge/?version=latest)](http://pywps.readthedocs.org/en/latest/?badge=latest)
7+
[![Build Status](https://travis-ci.org/geopython/pywps.png)](https://travis-ci.org/geopython/pywps)
8+
[![PyPI](https://img.shields.io/pypi/dm/pywps.svg)]()
9+
[![GitHub license](https://img.shields.io/github/license/geopython/pywps.svg)]()
10+
[![Gitter Chat](http://img.shields.io/badge/chat-online-brightgreen.svg)](https://gitter.im/PyWPS)
911

10-
* Chat: https://gitter.im/PyWPS
12+
# License
1113

12-
License
13-
=======
14+
As of PyWPS 4.0.0, PyWPS is released under an
15+
[MIT](https://en.wikipedia.org/wiki/MIT_License) license
16+
(see [LICENSE.txt](LICENSE.txt)).
1417

15-
Short version: [MIT](https://en.wikipedia.org/wiki/MIT_License)
16-
Long version: see [LICENSE.txt](LICENSE.txt) file
18+
# Dependencies
1719

18-
Dependencies
19-
============
20+
See [requirements.txt](requirements.txt) file
2021

21-
* lxml (http://lxml.de)
22-
* werkzeug (http://werkzeug.pocoo.org)
23-
* libxml2-dev, libxslt1-dev
24-
* GDAL (http://www.gdal.org/)
25-
* owslib (http://geopython.github.io/OWSLib/)
26-
* jsonschema (http://json-schema.org/)
27-
28-
Run tests
29-
=========
22+
# Run tests
3023

3124
Install and run [tox](http://testrun.org/tox/latest/):
3225

@@ -41,11 +34,9 @@ Or run the tests by hand, with either Python 2 or 3:
4134
python tests/__init__.py
4235
```
4336

44-
Run web application
45-
===================
37+
# Run web application
4638

47-
Demo application
48-
----------------
39+
## Demo application
4940

5041
Clone PyWPS-4 recursively with the demo application:
5142

@@ -64,8 +55,7 @@ cd demo/
6455
python demo.py
6556
```
6657

67-
Apache configuration
68-
--------------------
58+
## Apache configuration
6959

7060
1. Enable WSGI extension
7161

@@ -104,18 +94,17 @@ Apache configuration
10494
10595
4. Run via web browser
10696
107-
`http://localhost/pywps/?service=wps&request=GetCapabilities&version=1.0.0`
97+
`http://localhost/pywps/?service=WPS&request=GetCapabilities&version=1.0.0`
10898
10999
5. Run in command line:
110100
111101
```bash
112-
curl 'http://localhost/pywps/?service=wps&request=GetCapabilities&version=1.0.0'
102+
curl 'http://localhost/pywps/?service=WPS&request=GetCapabilities&version=1.0.0'
113103
```
114104
115105
116-
Issues
117-
======
106+
# Issues
118107
119-
On Windows PyWPS-4 does not support multiprocessing which is used when making
120-
requests storing the response document and updating the status to displaying to the user
121-
the progression of a process.
108+
On Windows PyWPS does not support multiprocessing which is used when making
109+
requests storing the response document and updating the status to displaying
110+
to the user the progression of a process.

VERSION.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
4.0.0-alpha2

docs/conf.py

+37-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,41 @@
1-
# encoding: utf-8
1+
###############################################################################
2+
#
3+
# Copyright (C) 2014-2016 PyWPS Development Team, represented by Jachym Cepicky
4+
#
5+
# Permission is hereby granted, free of charge, to any person obtaining a copy
6+
# of this software and associated documentation files (the "Software"), to
7+
# deal in the Software without restriction, including without limitation the
8+
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
9+
# sell copies of the Software, and to permit persons to whom the Software is
10+
# furnished to do so, subject to the following conditions:
11+
#
12+
# The above copyright notice and this permission notice shall be included in
13+
# all copies or substantial portions of the Software.
14+
#
15+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20+
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
21+
# IN THE SOFTWARE.
22+
#
23+
###############################################################################
224

3-
import sys, os
25+
import sys
426

527
project = u'PyWPS'
6-
copyright = u'2013, Jachym Cepicky'
7-
version = '4.0'
8-
release = '4.0'
28+
29+
license = ('This work is licensed under a Creative Commons Attribution 4.0 ',
30+
'International License')
31+
32+
copyright = ('Copyright (C) 2014-2016 PyWPS Development Team, ',
33+
'represented by Jachym Cepicky.' + license)
34+
35+
with open('../VERSION.txt') as f:
36+
version = f.read().strip()
37+
38+
release = version
939
latex_logo = 'pywps.png'
1040

1141
extensions = ['sphinx.ext.autodoc']
@@ -23,8 +53,10 @@
2353
class Mock(object):
2454
def __init__(self, *args, **kwargs):
2555
pass
56+
2657
def __call__(self, *args, **kwargs):
2758
return Mock()
59+
2860
@classmethod
2961
def __getattr__(cls, name):
3062
if name in ('__file__', '__path__'):

pywps/__init__.py

+4-5
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
responses back to client.
55
"""
66
# Author: Alex Morega & Calin Ciociu
7-
#
7+
#
88
# License:
99
#
1010
# Web Processing Service implementation
@@ -16,10 +16,10 @@
1616
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
1717
# sell copies of the Software, and to permit persons to whom the Software is
1818
# furnished to do so, subject to the following conditions:
19-
#
19+
#
2020
# The above copyright notice and this permission notice shall be included in
2121
# all copies or substantial portions of the Software.
22-
#
22+
#
2323
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2424
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
2525
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
@@ -31,7 +31,7 @@
3131
import os
3232
from lxml.builder import ElementMaker
3333

34-
__version__ = '4.0.0-dev'
34+
__version__ = '4.0.0-alpha2'
3535

3636

3737
PYWPS_INSTALL_DIR = os.path.dirname(os.path.abspath(__file__))
@@ -88,4 +88,3 @@
8888

8989
if __name__ == "__main__":
9090
pass
91-

setup.py

+28-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
###############################################################################
22
#
3-
# Copyright (C) 2014-2015 PyWPS Development Team, represented by Jachym Cepicky
3+
# Copyright (C) 2014-2016 PyWPS Development Team, represented by Jachym Cepicky
44
#
55
# Permission is hereby granted, free of charge, to any person obtaining a copy
66
# of this software and associated documentation files (the "Software"), to
@@ -29,15 +29,38 @@
2929
except ImportError:
3030
from distutils.core import setup
3131

32-
DESCRIPTION = 'PyWPS - Python implementation of OGC Web Processing Service'
32+
with open('VERSION.txt') as ff:
33+
VERSION = ff.read().strip()
34+
35+
DESCRIPTION = ('PyWPS is an implementation of the Web Processing Service '
36+
'standard from the Open Geospatial Consortium. PyWPS is '
37+
'written in Python.')
38+
39+
KEYWORDS = 'PyWPS WPS OGC processing'
3340

3441
CONFIG = {
42+
'name': 'pywps',
43+
'version': VERSION,
3544
'description': DESCRIPTION,
45+
'keywords': KEYWORDS,
46+
'license': 'MIT',
47+
'platforms': 'all',
3648
'author': 'Jachym Cepicky',
37-
'url': 'http://pywps.org',
38-
'download_url': 'https://github.com/PyWPS/pywps-4',
3949
'author_email': '[email protected]',
40-
'version': '4.0',
50+
'maintainer': 'Jachym Cepicky',
51+
'maintainer_email': '[email protected]',
52+
'url': 'http://pywps.org',
53+
'download_url': 'https://github.com/geopython/pywps',
54+
'classifiers': [
55+
'Development Status :: 5 - Production/Stable',
56+
'Environment :: Web Environment',
57+
'Intended Audience :: Developers',
58+
'Intended Audience :: Science/Research',
59+
'License :: OSI Approved :: MIT License',
60+
'Operating System :: OS Independent',
61+
'Programming Language :: Python',
62+
'Topic :: Scientific/Engineering :: GIS'
63+
],
4164
'install_requires': [
4265
'lxml',
4366
'werkzeug',
@@ -54,7 +77,6 @@
5477
'pywps/inout/formats'
5578
],
5679
'scripts': [],
57-
'name': 'pywps'
5880
}
5981

6082
if sys.version_info.major < 3:

0 commit comments

Comments
 (0)