geopython/PyWPS — pull request #15 by ricardogsilva (2013-10-04 00:03:20+00:00)
Title: tweaked wsgi script

This pull request cleans up the wsgi script a bit.
I have remove local imports under assumption that the wsgiwps script is to be run after PyWPS has been successfully installed. Also renamed the main function to 'aplication' in order to be able to use it with apache's mod_wsgi.

The changes can be tested by running the wsgiwps module standalone, which will create a testing wsgi server that awaits requests:
```bash
$ cd webservices/wsgi
$ python wsgiwps.py
```
and then using another terminal to fire up a GetCapabilities request with, for example, oswlib:
```python
from owslib.wps import WebProcessingService
wps = WebProcessingService('http://localhost:8081')
```