Download page, MANIFEST.in

This commit is contained in:
Aldo Cortesi 2012-08-23 12:54:58 +12:00
parent b78a3817cd
commit 2f7188164c
6 changed files with 69 additions and 29 deletions

9
MANIFEST.in Normal file
View File

@ -0,0 +1,9 @@
include LICENSE
include CHANGELOG
include README.txt
exclude README.mkd
recursive-include test *
recursive-include libpathod/resources *
recursive-include libpathod/templates *
recursive-include libpathod/static *
recursive-exclude test *.swo *.swp *.pyc

View File

@ -42,6 +42,12 @@ def index():
return render("index.html", True, section="main")
@app.route('/download')
@app.route('/download.html')
def download():
return render("download.html", True, section="download")
@app.route('/about')
@app.route('/about.html')
def about():

View File

@ -1,30 +1,6 @@
{% extends "frame.html" %}
{% block body %}
<section>
<div class="page-header">
<h1>
how
<small>to get it.</small>
</h1>
</div>
<p>The easiest way to install pathod is to use pip:</p>
<pre>pip install pathod</pre>
<p> You can find the project source on GitHub: </p>
<div style="margin-top: 20px; margin-bottom: 20px">
<a class="btn btn-primary btn-large" href="https://github.com/cortesi/pathod">github.com/cortesi/pathod</a>
</div>
<p>Please also use the <a
href="https://github.com/cortesi/pathod/issues">github issue tracker</a> to
report bugs. </p>
</section>
<section>
<div class="page-header">
<h1>

View File

@ -0,0 +1,53 @@
{% extends "frame.html" %}
{% block body %}
<section>
<div class="page-header">
<h1>
pip
</h1>
</div>
<p>The easiest way to install pathod is to use pip:</p>
<pre>pip install pathod</pre>
<p> This will automatically pull in all the dependencies, and you should be
good to go.</p>
</section>
<section>
<div class="page-header">
<h1>
github
</h1>
</div>
<p> You can find the project source on GitHub: </p>
<div style="margin-top: 20px; margin-bottom: 20px">
<a class="btn btn-primary btn-large" href="https://github.com/cortesi/pathod">github.com/cortesi/pathod</a>
</div>
<p>Please also use the <a
href="https://github.com/cortesi/pathod/issues">github issue tracker</a> to
report bugs. </p>
</section>
<section>
<div class="page-header">
<h1>
tarball
</h1>
</div>
<div style="margin-top: 20px; margin-bottom: 20px">
<a class="btn btn-primary btn-large" href="https://github.com/downloads/cortesi/pathod/pathod-0.2.tar.gz">pathod-0.2.tar.gz</a>
</div>
</section>
{% endblock %}

View File

@ -39,6 +39,7 @@
<div class="nav-collapse">
<ul class="nav">
<li {% if section== "main" %} class="active" {% endif %}><a href="/">home</a></li>
<li {% if section== "download" %} class="active" {% endif %}><a href="/download">download</a></li>
{% if not noapi %}
<li {% if section== "log" %} class="active" {% endif %}><a href="/log">log</a></li>
{% endif %}

View File

@ -1,5 +0,0 @@
base = ..
coverage = ../libpathod
exclude = .
../libpathod/contrib