awips2/pythonPackages/werkzeug/docs/_build/html/installation.html
root e2ecdcfe33 Initial revision of AWIPS2 11.9.0-7p5
Former-commit-id: a02aeb236c [formerly 9f19e3f712] [formerly a02aeb236c [formerly 9f19e3f712] [formerly 06a8b51d6d [formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]]]
Former-commit-id: 06a8b51d6d
Former-commit-id: 8e80217e59 [formerly 3360eb6c5f]
Former-commit-id: 377dcd10b9
2012-01-06 08:55:05 -06:00

121 lines
No EOL
6.6 KiB
HTML
Executable file

<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Werkzeug Documentation</title>
<link rel="stylesheet" href="_static/style.css" type="text/css">
<link rel="stylesheet" href="_static/print.css" type="text/css" media="print">
<link rel="stylesheet" href="_static/pygments.css" type="text/css">
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '#',
VERSION: '0.6.1'
};
</script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/interface.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<script type="text/javascript" src="_static/werkzeug.js"></script>
<link rel="contents" title="Global table of contents" href="contents.html">
<link rel="index" title="Global index" href="genindex.html">
<link rel="search" title="Search" href="search.html">
<link rel="top" title="Werkzeug v0.6.1 documentation" href="index.html">
<link rel="next" title="Werkzeug Tutorial" href="tutorial.html">
<link rel="prev" title="Documentation Overview" href="index.html">
</head>
<body>
<div class="page">
<div class="header">
<h1 class="heading"><a href="index.html"
title="back to the documentation overview"><span>Werkzeug</span></a></h1>
</div>
<ul class="navigation">
<li class="indexlink"><a href="index.html">Overview</a></li>
<li><a href="index.html">&laquo; Documentation Overview</a></li>
<li class="active"><a href="#">Installation</a></li>
<li><a href="tutorial.html">Werkzeug Tutorial &raquo;</a></li>
</ul>
<div class="body">
<div id="toc">
<h3>Table Of Contents</h3>
<div class="inner"><ul>
<li><a class="reference external" href="#">Installation</a><ul>
<li><a class="reference external" href="#installing-a-released-version">Installing a released version</a><ul>
<li><a class="reference external" href="#as-a-python-egg-via-easy-install">As a Python egg (via easy_install)</a></li>
<li><a class="reference external" href="#from-the-tarball-release">From the tarball release</a></li>
</ul>
</li>
<li><a class="reference external" href="#installing-the-development-version">Installing the development version</a><ul>
<li><a class="reference external" href="#if-you-want-to-play-around-with-the-code">If you want to play around with the code</a></li>
<li><a class="reference external" href="#if-you-just-want-the-latest-features-and-use-them">If you just want the latest features and use them</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<div class="section" id="installation">
<h1>Installation<a class="headerlink" href="#installation" title="Permalink to this headline"></a></h1>
<p>Werkzeug requires at least Python 2.4 to work correctly.</p>
<div class="section" id="installing-a-released-version">
<h2>Installing a released version<a class="headerlink" href="#installing-a-released-version" title="Permalink to this headline"></a></h2>
<div class="section" id="as-a-python-egg-via-easy-install">
<h3>As a Python egg (via easy_install)<a class="headerlink" href="#as-a-python-egg-via-easy-install" title="Permalink to this headline"></a></h3>
<p>You can install the most recent Werkzeug version using <a class="reference external" href="http://peak.telecommunity.com/DevCenter/EasyInstall">easy_install</a>:</p>
<div class="highlight-python"><pre>sudo easy_install Werkzeug</pre>
</div>
<p>This will install a Werkzeug egg in your Python installation&#8217;s <cite>site-packages</cite>
directory.</p>
</div>
<div class="section" id="from-the-tarball-release">
<h3>From the tarball release<a class="headerlink" href="#from-the-tarball-release" title="Permalink to this headline"></a></h3>
<ol class="arabic simple">
<li>Download the most recent tarball from the <a class="reference external" href="http://werkzeug.pocoo.org/download">download page</a>.</li>
<li>Unpack the tarball.</li>
<li><tt class="docutils literal"><span class="pre">sudo</span> <span class="pre">python</span> <span class="pre">setup.py</span> <span class="pre">install</span></tt></li>
</ol>
<p>Note that the last command will automatically download and install
<a class="reference external" href="http://peak.telecommunity.com/DevCenter/setuptools">setuptools</a> if you don&#8217;t already have it installed. This requires a working
Internet connection.</p>
<p>This will install Werkzeug into your Python installation&#8217;s <cite>site-packages</cite>
directory.</p>
</div>
</div>
<div class="section" id="installing-the-development-version">
<h2>Installing the development version<a class="headerlink" href="#installing-the-development-version" title="Permalink to this headline"></a></h2>
<div class="section" id="if-you-want-to-play-around-with-the-code">
<h3>If you want to play around with the code<a class="headerlink" href="#if-you-want-to-play-around-with-the-code" title="Permalink to this headline"></a></h3>
<ol class="arabic simple">
<li>Install <a class="reference external" href="http://selenic.com/mercurial/">Mercurial</a></li>
<li><tt class="docutils literal"><span class="pre">hg</span> <span class="pre">clone</span> <span class="pre">http://dev.pocoo.org/hg/werkzeug-main</span> <span class="pre">werkzeug</span></tt></li>
<li><tt class="docutils literal"><span class="pre">cd</span> <span class="pre">werkzeug</span></tt></li>
<li><tt class="docutils literal"><span class="pre">ln</span> <span class="pre">-s</span> <span class="pre">werkzeug</span> <span class="pre">/usr/lib/python2.X/site-packages</span></tt></li>
</ol>
</div>
<div class="section" id="if-you-just-want-the-latest-features-and-use-them">
<h3>If you just want the latest features and use them<a class="headerlink" href="#if-you-just-want-the-latest-features-and-use-them" title="Permalink to this headline"></a></h3>
<div class="highlight-python"><pre>sudo easy_install Werkzeug==dev</pre>
</div>
<p>This will install a Werkzeug egg containing the latest mercurial tip in
your Python installation&#8217;s <cite>site-packages</cite> directory. Every time the
command is run, the sources are updated from the mercurial repository.</p>
<p>However we strongly recommend cloning the repository and linking it instead
as explained in the step before.</p>
</div>
</div>
</div>
<div style="clear: both"></div>
</div>
<div class="footer">
© Copyright 2008 by the <a href="http://pocoo.org/">Pocoo Team</a>,
documentation generated by <a href="http://sphinx.pocoo.org/">Sphinx</a>
</div>
</div>
</body>
</html>