Browse Source

added the setup files

master
Julio Biason 7 years ago
parent
commit
9a1bd68ec6
  1. 30
      flask-40mins.html

30
flask-40mins.html

@ -163,6 +163,8 @@
   └── page_not_found.html    └── page_not_found.html
├── contents ├── contents
   └── 2017-10-31.md    └── 2017-10-31.md
├── setup.py
├── MANIFEST.in
└── requirements.txt</pre> └── requirements.txt</pre>
</section> </section>
@ -658,6 +660,34 @@ STORAGE='/home/jbiason/src/ata/contents'</code></pre>
</section> </section>
</section> </section>
<section>
<section>
<h2><code>setup.py</code></h2>
<pre><code>from setuptools import setup
with open('requirements.txt') as origin:
requirements = origin.readlines()
setup(name='Ata',
version='0.1',
long_description='A Flask app',
packages=['ata'],
zip_safe=False,
include_package_data=True,
install_requires=requirements)</code></pre>
</section>
</section>
<section>
<section>
<h2><code>MANIFEST.in</code></h2>
<pre><code>recursive-include ata/templates *
recursive-include ata/static *</code></pre>
</section>
</section>
<section> <section>
<section> <section>
<h2>Rodando</h2> <h2>Rodando</h2>

Loading…
Cancel
Save