/usr/share/doc/pywps/html/install.html is in pywps-doc 4.0.0-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Installation — PyWPS 4.0.0 documentation</title>
<link rel="stylesheet" href="_static/alabaster.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '4.0.0',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
SOURCELINK_SUFFIX: '.txt'
};
</script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<script type="text/javascript" src="_static/mathjax/MathJax.js?config=tex-ams-mml_htmlormml"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="Configuration" href="configuration.html" />
<link rel="prev" title="PyWPS" href="pywps.html" />
<link rel="stylesheet" href="_static/custom.css" type="text/css" />
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />
</head>
<body>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<div class="section" id="installation">
<span id="id1"></span><h1>Installation<a class="headerlink" href="#installation" title="Permalink to this headline">¶</a></h1>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">PyWPS is not tested on the MS Windows platform. Please join the
development team if you need this platform to be supported. This is mainly
because of the lack of a multiprocessing library. It is used to process
asynchronous execution, i.e., when making requests storing the response
document and updating a status document displaying the progress of
execution.</p>
</div>
<div class="section" id="dependencies-and-requirements">
<h2>Dependencies and requirements<a class="headerlink" href="#dependencies-and-requirements" title="Permalink to this headline">¶</a></h2>
<p>PyWPS runs on Python 2.7, 3.3 or higher. PyWPS is currently tested and
developed on Linux (mostly Ubuntu). In the documentation we take this
distribution as reference.</p>
<p>Prior to installing PyWPS, Git and the Python bindings for GDAL must be
installed in the system. In Debian based systems these packages can be
installed with a tool like <em>apt</em>:</p>
<div class="highlight-default"><div class="highlight"><pre><span></span>$ sudo apt-get install git python-gdal
</pre></div>
</div>
<p>Alternatively, if GDAL is already installed on your system you can
install the GDAL Python bindings via pip with:</p>
<div class="highlight-default"><div class="highlight"><pre><span></span>$ pip install GDAL==1.10.0 --global-option=build_ext --global-option="-I/usr/include/gdal"
</pre></div>
</div>
</div>
<div class="section" id="download-and-install">
<h2>Download and install<a class="headerlink" href="#download-and-install" title="Permalink to this headline">¶</a></h2>
<dl class="docutils">
<dt>Using pip</dt>
<dd><p class="first">The easiest way to install PyWPS is using the Python Package Index
(PIP). It fetches the source code from the repository and installs it
automatically in the system. This might require superuser permissions
(e.g. <em>sudo</em> in Debian based systems):</p>
<div class="last highlight-default"><div class="highlight"><pre><span></span>$ sudo pip install -e git+https://github.com/geopython/pywps.git@master#egg=pywps-dev
</pre></div>
</div>
</dd>
</dl>
<div class="admonition-todo admonition" id="index-0">
<p class="first admonition-title">Todo</p>
<ul class="last simple">
<li>document Debian / Ubuntu package support</li>
</ul>
</div>
<dl class="docutils">
<dt>Manual installation</dt>
<dd><p class="first">Manual installation of PyWPS requires <a class="reference external" href="http://pywps.org/download">downloading</a> the
source code followed by usage of the <cite>setup.py</cite> script. An example again for Debian based systems (note
the usage of <cite>sudo</cite> for install):</p>
<div class="highlight-default"><div class="highlight"><pre><span></span>$ tar zxf pywps-x.y.z.tar.gz
$ cd pywps-x.y.z/
</pre></div>
</div>
<p>Then install the package dependencies using pip:</p>
<div class="highlight-default"><div class="highlight"><pre><span></span>$ pip install -r requirements.txt
$ pip install -r requirements-gdal.txt # for GDAL Python bindings (if python-gdal is not already installed by `apt-get`)
$ pip install -r requirements-dev.txt # for developer tasks
</pre></div>
</div>
<p>To install PyWPS system-wide run:</p>
<div class="last highlight-default"><div class="highlight"><pre><span></span>$ sudo python setup.py install
</pre></div>
</div>
</dd>
<dt>For Developers</dt>
<dd><p class="first">Installation of the source code using Git and Python’s virtualenv tool:</p>
<div class="highlight-default"><div class="highlight"><pre><span></span>$ virtualenv my-pywps-env
$ cd my-pywps-env
$ source bin/activate
$ git clone https://github.com/geopython/pywps.git
$ cd pywps
</pre></div>
</div>
<p>Then install the package dependencies using pip as described in the Manual installation section. To install
PyWPS:</p>
<div class="highlight-default"><div class="highlight"><pre><span></span>$ python setup.py install
</pre></div>
</div>
<p class="last">Note that installing PyWPS via a virtualenv environment keeps the installation of PyWPS and its
dependencies isolated to the virtual environment and does not affect other parts of the system. This
installation option is handy for development and / or users who may not have system-wide administration
privileges.</p>
</dd>
</dl>
</div>
<div class="section" id="the-demo-service-and-its-sample-processes">
<span id="demo"></span><h2>The demo service and its sample processes<a class="headerlink" href="#the-demo-service-and-its-sample-processes" title="Permalink to this headline">¶</a></h2>
<p>To use PyWPS the user must code processes and publish them through a service.
A demo service is available that makes up a good starting point for first time
users. This launches a very simple built-in server (relying on <a class="reference external" href="http://flask.pocoo.org/">flask</a>), which is good enough for testing but probably not
appropriate for production. It can be cloned directly into the user
area:</p>
<div class="highlight-default"><div class="highlight"><pre><span></span>$ git clone https://github.com/geopython/pywps-demo.git
</pre></div>
</div>
<p>It may be run right away through the <cite>demo.py</cite> script. First time users should
start by studying the demo project structure and then code their own processes.</p>
<p>Full more details please consult the <a class="reference internal" href="process.html#process"><span class="std std-ref">Processes</span></a> section. The <cite>demo</cite> service
contains some basic processes too, so you could get started with some examples
(like <cite>area</cite>, <cite>buffer</cite>, <cite>feature_count</cite> and <cite>grassbuffer</cite>). These processes are
to be taken just as inspiration and code documentation - most of them do not
make any sense (e.g. <cite>sayhello</cite>).</p>
</div>
</div>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<p class="logo">
<a href="index.html">
<img class="logo" src="_static/pywps.png" alt="Logo"/>
</a>
</p>
<h3>Navigation</h3>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="wps.html">OGC Web Processing Service (OGC WPS)</a></li>
<li class="toctree-l1"><a class="reference internal" href="pywps.html">PyWPS</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">Installation</a><ul>
<li class="toctree-l2"><a class="reference internal" href="#dependencies-and-requirements">Dependencies and requirements</a></li>
<li class="toctree-l2"><a class="reference internal" href="#download-and-install">Download and install</a></li>
<li class="toctree-l2"><a class="reference internal" href="#the-demo-service-and-its-sample-processes">The demo service and its sample processes</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="configuration.html">Configuration</a></li>
<li class="toctree-l1"><a class="reference internal" href="process.html">Processes</a></li>
<li class="toctree-l1"><a class="reference internal" href="deployment.html">Deployment to a production server</a></li>
<li class="toctree-l1"><a class="reference internal" href="migration.html">Migrating from PyWPS 3.x to 4.x</a></li>
<li class="toctree-l1"><a class="reference internal" href="external-tools.html">PyWPS and external tools</a></li>
<li class="toctree-l1"><a class="reference internal" href="api.html">PyWPS API Doc</a></li>
<li class="toctree-l1"><a class="reference internal" href="development.html">Developers Guide</a></li>
<li class="toctree-l1"><a class="reference internal" href="exceptions.html">Exceptions</a></li>
</ul>
<div id="searchbox" style="display: none" role="search">
<h3>Quick search</h3>
<form class="search" action="search.html" method="get">
<div><input type="text" name="q" /></div>
<div><input type="submit" value="Go" /></div>
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="footer">
©Copyright (C) 2014-2016 PyWPS Development Team, represented by Jachym Cepicky.This work is licensed under a Creative Commons Attribution 4.0 International License.
|
Powered by <a href="http://sphinx-doc.org/">Sphinx 1.6.7</a>
& <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.8</a>
|
<a href="_sources/install.rst.txt"
rel="nofollow">Page source</a>
</div>
</body>
</html>
|