diff --git a/pyscriptjs/examples/toga/freedom/fake-briefcase.sh b/pyscriptjs/examples/toga/freedom/fake-briefcase.sh index 3e143a2..df64f98 100755 --- a/pyscriptjs/examples/toga/freedom/fake-briefcase.sh +++ b/pyscriptjs/examples/toga/freedom/fake-briefcase.sh @@ -1,7 +1,7 @@ #!/bin/sh -mkdir -p ../server/static/wheels +mkdir -p ../static/wheels cd src unzip ../base-wheel.zip -zip ../../server/static/wheels/freedom-0.0.1-py3-none-any.whl -r freedom* +zip ../../static/wheels/freedom-0.0.1-py3-none-any.whl -r freedom* rm -rf freedom-0.0.1.dist-info diff --git a/pyscriptjs/examples/toga/server/demo.py b/pyscriptjs/examples/toga/server/demo.py index 780fd11..abd9065 100644 --- a/pyscriptjs/examples/toga/server/demo.py +++ b/pyscriptjs/examples/toga/server/demo.py @@ -4,7 +4,7 @@ from toga_flask import TogaApp from freedom import app as freedom -app = Flask(__name__) +app = Flask(__name__, static_folder='../static') app.add_url_rule('/', view_func=TogaApp.as_view("foo", app_module=freedom)) diff --git a/pyscriptjs/examples/toga/server/static/logo-32.png b/pyscriptjs/examples/toga/static/logo-32.png similarity index 100% rename from pyscriptjs/examples/toga/server/static/logo-32.png rename to pyscriptjs/examples/toga/static/logo-32.png diff --git a/pyscriptjs/examples/toga/server/static/pyscript/pyscript.css b/pyscriptjs/examples/toga/static/pyscript/pyscript.css similarity index 100% rename from pyscriptjs/examples/toga/server/static/pyscript/pyscript.css rename to pyscriptjs/examples/toga/static/pyscript/pyscript.css diff --git a/pyscriptjs/examples/toga/server/static/pyscript/pyscript.js b/pyscriptjs/examples/toga/static/pyscript/pyscript.js similarity index 100% rename from pyscriptjs/examples/toga/server/static/pyscript/pyscript.js rename to pyscriptjs/examples/toga/static/pyscript/pyscript.js diff --git a/pyscriptjs/examples/toga/server/static/pyscript/pyscript.js.map b/pyscriptjs/examples/toga/static/pyscript/pyscript.js.map similarity index 100% rename from pyscriptjs/examples/toga/server/static/pyscript/pyscript.js.map rename to pyscriptjs/examples/toga/static/pyscript/pyscript.js.map diff --git a/pyscriptjs/examples/toga/server/static/toga.css b/pyscriptjs/examples/toga/static/toga.css similarity index 100% rename from pyscriptjs/examples/toga/server/static/toga.css rename to pyscriptjs/examples/toga/static/toga.css diff --git a/pyscriptjs/examples/toga/server/static/wheels/README.md b/pyscriptjs/examples/toga/static/wheels/README.md similarity index 100% rename from pyscriptjs/examples/toga/server/static/wheels/README.md rename to pyscriptjs/examples/toga/static/wheels/README.md diff --git a/pyscriptjs/examples/toga/server/static/wheels/freedom-0.0.1-py3-none-any.whl b/pyscriptjs/examples/toga/static/wheels/freedom-0.0.1-py3-none-any.whl similarity index 100% rename from pyscriptjs/examples/toga/server/static/wheels/freedom-0.0.1-py3-none-any.whl rename to pyscriptjs/examples/toga/static/wheels/freedom-0.0.1-py3-none-any.whl diff --git a/pyscriptjs/examples/toga/server/static/wheels/toga_core-0.3.0.dev33-py3-none-any.whl b/pyscriptjs/examples/toga/static/wheels/toga_core-0.3.0.dev33-py3-none-any.whl similarity index 99% rename from pyscriptjs/examples/toga/server/static/wheels/toga_core-0.3.0.dev33-py3-none-any.whl rename to pyscriptjs/examples/toga/static/wheels/toga_core-0.3.0.dev33-py3-none-any.whl index 38cc23d..42392f0 100644 Binary files a/pyscriptjs/examples/toga/server/static/wheels/toga_core-0.3.0.dev33-py3-none-any.whl and b/pyscriptjs/examples/toga/static/wheels/toga_core-0.3.0.dev33-py3-none-any.whl differ diff --git a/pyscriptjs/examples/toga/server/static/wheels/toga_flask-0.3.0.dev33-py3-none-any.whl b/pyscriptjs/examples/toga/static/wheels/toga_flask-0.3.0.dev33-py3-none-any.whl similarity index 84% rename from pyscriptjs/examples/toga/server/static/wheels/toga_flask-0.3.0.dev33-py3-none-any.whl rename to pyscriptjs/examples/toga/static/wheels/toga_flask-0.3.0.dev33-py3-none-any.whl index ff5e10b..227b620 100644 Binary files a/pyscriptjs/examples/toga/server/static/wheels/toga_flask-0.3.0.dev33-py3-none-any.whl and b/pyscriptjs/examples/toga/static/wheels/toga_flask-0.3.0.dev33-py3-none-any.whl differ diff --git a/pyscriptjs/examples/toga/server/static/wheels/toga_web-0.3.0.dev33-py3-none-any.whl b/pyscriptjs/examples/toga/static/wheels/toga_web-0.3.0.dev33-py3-none-any.whl similarity index 59% rename from pyscriptjs/examples/toga/server/static/wheels/toga_web-0.3.0.dev33-py3-none-any.whl rename to pyscriptjs/examples/toga/static/wheels/toga_web-0.3.0.dev33-py3-none-any.whl index 9350429..a104682 100644 Binary files a/pyscriptjs/examples/toga/server/static/wheels/toga_web-0.3.0.dev33-py3-none-any.whl and b/pyscriptjs/examples/toga/static/wheels/toga_web-0.3.0.dev33-py3-none-any.whl differ diff --git a/pyscriptjs/examples/toga/server/static/wheels/travertino-0.1.3-py3-none-any.whl b/pyscriptjs/examples/toga/static/wheels/travertino-0.1.3-py3-none-any.whl similarity index 95% rename from pyscriptjs/examples/toga/server/static/wheels/travertino-0.1.3-py3-none-any.whl rename to pyscriptjs/examples/toga/static/wheels/travertino-0.1.3-py3-none-any.whl index 9c49722..9b67cd0 100644 Binary files a/pyscriptjs/examples/toga/server/static/wheels/travertino-0.1.3-py3-none-any.whl and b/pyscriptjs/examples/toga/static/wheels/travertino-0.1.3-py3-none-any.whl differ