Permalink
Browse files
misc technical stuff for demo
- Loading branch information...
Showing
with
6 additions
and
2 deletions.
-
+3
−0
MANIFEST.in
-
+1
−1
setup.py
-
+1
−0
src/fourlang/demo/demo.py
-
+1
−1
src/fourlang/demo/server.py
|
|
@@ -0,0 +1,3 @@ |
|
|
|
recursive-include src/fourlang/demo/templates * |
|
|
|
recursive-include src/fourlang/demo/static * |
|
|
|
|
|
@@ -19,7 +19,7 @@ |
|
|
|
|
|
|
|
package_dir={'': 'src'}, |
|
|
|
packages=find_packages("src"), |
|
|
|
|
|
|
|
include_package_data=True, |
|
|
|
dependency_links=[ |
|
|
|
"https://github.com/kornai/pymachine/tarball/master#egg=pymachine"], |
|
|
|
install_requires=[ |
|
|
|
@@ -57,6 +57,7 @@ def backend_test(self): |
|
|
|
|
|
|
|
@app.route('/', methods=['GET']) |
|
|
|
def test(): |
|
|
|
logging.info('app.root path is: {0}'.format(app.root_path)) |
|
|
|
return render_template('test.html') |
|
|
|
|
|
|
|
|
|
|
|
|
@@ -1,4 +1,4 @@ |
|
|
|
from demo import app as application |
|
|
|
from fourlang.demo.demo import app as application |
|
|
|
|
|
|
|
if __name__ == "__main__": |
|
|
|
application.run() |
0 comments on commit
74dd7d9