mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 08:11:00 +00:00
Download page, MANIFEST.in
This commit is contained in:
parent
b78a3817cd
commit
2f7188164c
9
MANIFEST.in
Normal file
9
MANIFEST.in
Normal 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
|
@ -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():
|
||||
|
@ -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>
|
||||
|
53
libpathod/templates/download.html
Normal file
53
libpathod/templates/download.html
Normal 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 %}
|
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user