Skip to content

Commit

Permalink
edit
Browse files Browse the repository at this point in the history
  • Loading branch information
Angelo Gladding authored and anandology committed Jan 5, 2011
1 parent 10fc7a6 commit 8adf06f
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions installation.md
Expand Up @@ -23,7 +23,8 @@ The easiest way to install `web.py` is using
<code>[easy_install](http://peak.telecommunity.com/DevCenter/EasyInstall)</code>.
<em><small><strong>Note</strong> that you will install the version specified in the [Python Package Index](http://pypi.python.org/pypi/web.py).</small></em>

<pre><code><kbd>easy_install web.py</kbd></code></pre>
<pre><code><kbd>easy_install web.py</kbd>
<kbd></kbd></code></pre>

<h3 id=source>From Source</h3>

Expand All @@ -34,13 +35,15 @@ The easiest way to install `web.py` is using
<h4 id=system>System-wide</h4>

<pre><code><kbd>cd web.py-0.33</kbd>
<kbd>sudo python setup.py install</kbd></code></pre>
<kbd>sudo python setup.py install</kbd>
<kbd></kbd></code></pre>

<h4 id=local>Local</h4>

If you need to bundle `web.py` with your application extract the source to a `vendor` folder and create a symlink, normally within your package's root.

<pre><code><kbd>ln -s vendor/web.py-0.33/web web</kbd></code></pre>
<pre><code><kbd>ln -s vendor/web.py-0.33/web web</kbd>
<kbd></kbd></code></pre>

<h3 id=distribution>Via GNU/Linux Distribution</h3>

Expand All @@ -49,21 +52,25 @@ If you need to bundle `web.py` with your application extract the source to a `ve
If you are on a Debian-based system you can install `web.py` using `apt-get`.
<em><small><strong>Note</strong> that you may not get the latest version as the Ubuntu/Debian release cycles are different from `web.py`. See <a href=http://packages.debian.org/search?searchon=names&keywords=python-webpy>Debian</a> and <a href=https://launchpad.net/ubuntu/+source/webpy>Ubuntu</a> package profiles for more information.</small></em>

<pre><code><kbd>sudo apt-get install python-webpy</kbd></code></pre>
<pre><code><kbd>sudo apt-get install python-webpy</kbd>
<kbd></kbd></code></pre>

<h4 id=red-hat>Red Hat <small>or Fedora, RHEL, CentOS</small></h4>

If you are on a Red Hat-based system you can install `web.py` using `yum` or `up2date`.
<em><small><strong>Note</strong> that CentOS requires the [<abbr title="Extra Packages for Enterprise Linux">EPEL</abbr>](https://fedoraproject.org/wiki/EPEL) repository.</small></em>

<pre><code><kbd class=su>yum install python-webpy</kbd></code></pre>
<pre><code><kbd class=su>up2date -i python-webpy</kbd></code></pre>
<pre><code><kbd class=su>yum install python-webpy</kbd>
<kbd></kbd></code></pre>
<pre><code><kbd class=su>up2date -i python-webpy</kbd>
<kbd></kbd></code></pre>

<h2 id=development>Development Branch</h2>

To follow the bleeding edge clone the master branch.

<pre><code><kbd>git clone git://github.com/webpy/webpy.git</kbd></code></pre>
<pre><code><kbd>git clone git://github.com/webpy/webpy.git</kbd>
<kbd></kbd></code></pre>

<h2 id=verify>Verify</h2>

Expand Down

0 comments on commit 8adf06f

Please sign in to comment.