fastled 1.2.15__tar.gz → 1.2.16__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {fastled-1.2.15 → fastled-1.2.16}/PKG-INFO +2 -1
- {fastled-1.2.15 → fastled-1.2.16}/README.md +1 -0
- {fastled-1.2.15 → fastled-1.2.16}/src/fastled/__init__.py +1 -1
- {fastled-1.2.15 → fastled-1.2.16}/src/fastled/open_browser2.py +25 -1
- {fastled-1.2.15 → fastled-1.2.16}/src/fastled.egg-info/PKG-INFO +2 -1
- {fastled-1.2.15 → fastled-1.2.16}/.aiderignore +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/.github/workflows/build_multi_docker_image.yml +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/.github/workflows/build_webpage.yml +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/.github/workflows/lint.yml +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/.github/workflows/publish_release.yml +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/.github/workflows/test_build_exe.yml +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/.github/workflows/test_macos.yml +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/.github/workflows/test_ubuntu.yml +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/.github/workflows/test_win.yml +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/.gitignore +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/.pylintrc +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/.vscode/launch.json +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/.vscode/settings.json +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/.vscode/tasks.json +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/LICENSE +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/MANIFEST.in +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/RELEASE.md +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/TODO.md +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/build_exe.py +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/build_site.py +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/clean +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/install +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/lint +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/pyproject.toml +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/requirements.testing.txt +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/setup.cfg +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/setup.py +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/src/fastled/app.py +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/src/fastled/assets/example.txt +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/src/fastled/cli.py +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/src/fastled/client_server.py +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/src/fastled/compile_server.py +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/src/fastled/compile_server_impl.py +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/src/fastled/docker_manager.py +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/src/fastled/filewatcher.py +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/src/fastled/keyboard.py +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/src/fastled/live_client.py +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/src/fastled/open_browser.py +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/src/fastled/parse_args.py +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/src/fastled/paths.py +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/src/fastled/project_init.py +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/src/fastled/select_sketch_directory.py +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/src/fastled/settings.py +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/src/fastled/site/build.py +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/src/fastled/sketch.py +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/src/fastled/spinner.py +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/src/fastled/string_diff.py +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/src/fastled/test/can_run_local_docker_tests.py +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/src/fastled/test/examples.py +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/src/fastled/types.py +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/src/fastled/util.py +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/src/fastled/web_compile.py +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/src/fastled.egg-info/SOURCES.txt +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/src/fastled.egg-info/dependency_links.txt +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/src/fastled.egg-info/entry_points.txt +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/src/fastled.egg-info/requires.txt +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/src/fastled.egg-info/top_level.txt +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/test +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/tests/html/index.html +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/tests/test_api.py +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/tests/test_bad_ino.py +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/tests/test_build.py +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/tests/test_build_examples.py +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/tests/test_cli.py +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/tests/test_compile_server.py +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/tests/test_docker_linux_on_windows.py +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/tests/test_embedded_data.py +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/tests/test_examples.py +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/tests/test_filechanger.py +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/tests/test_http_server.py +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/tests/test_ino/bad/bad.ino +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/tests/test_ino/embedded/data/bigdata.dat +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/tests/test_ino/embedded/wasm.ino +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/tests/test_ino/wasm/wasm.ino +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/tests/test_project_init.py +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/tests/test_server_and_client_seperatly.py +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/tests/test_webcompile.py +0 -0
- {fastled-1.2.15 → fastled-1.2.16}/upload_package.sh +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: fastled
|
3
|
-
Version: 1.2.
|
3
|
+
Version: 1.2.16
|
4
4
|
Summary: FastLED Wasm Compiler
|
5
5
|
Home-page: https://github.com/zackees/fastled-wasm
|
6
6
|
Maintainer: Zachary Vorhies
|
@@ -285,6 +285,7 @@ A: A big chunk of space is being used by unnecessary javascript `emscripten` bun
|
|
285
285
|
|
286
286
|
# Revisions
|
287
287
|
|
288
|
+
* 1.2.16 - Force mime types in web browser as some users may not have it correct in their registry.
|
288
289
|
* 1.2.15 - Rewrote http server using flask. Reduced install size significantly.
|
289
290
|
* 1.2.13 - More fixes for npm live-server, now uses `static-npm` to launch it.
|
290
291
|
* 1.2.12 - Fixes for python npm for launching live-server
|
@@ -262,6 +262,7 @@ A: A big chunk of space is being used by unnecessary javascript `emscripten` bun
|
|
262
262
|
|
263
263
|
# Revisions
|
264
264
|
|
265
|
+
* 1.2.16 - Force mime types in web browser as some users may not have it correct in their registry.
|
265
266
|
* 1.2.15 - Rewrote http server using flask. Reduced install size significantly.
|
266
267
|
* 1.2.13 - More fixes for npm live-server, now uses `static-npm` to launch it.
|
267
268
|
* 1.2.12 - Fixes for python npm for launching live-server
|
@@ -15,7 +15,7 @@ from .types import BuildMode, CompileResult, CompileServerError
|
|
15
15
|
# IMPORTANT! There's a bug in github which will REJECT any version update
|
16
16
|
# that has any other change in the repo. Please bump the version as the
|
17
17
|
# ONLY change in a commit, or else the pypi update and the release will fail.
|
18
|
-
__version__ = "1.2.
|
18
|
+
__version__ = "1.2.16"
|
19
19
|
|
20
20
|
|
21
21
|
class Api:
|
@@ -18,7 +18,31 @@ def _run_flask_server(fastled_js: Path, port: int) -> None:
|
|
18
18
|
|
19
19
|
@app.route("/<path:path>")
|
20
20
|
def serve_files(path):
|
21
|
-
|
21
|
+
response = send_from_directory(fastled_js, path)
|
22
|
+
# Some servers don't set the Content-Type header for a bunch of files.
|
23
|
+
if path.endswith(".js"):
|
24
|
+
response.headers["Content-Type"] = "application/javascript"
|
25
|
+
if path.endswith(".css"):
|
26
|
+
response.headers["Content-Type"] = "text/css"
|
27
|
+
if path.endswith(".wasm"):
|
28
|
+
response.headers["Content-Type"] = "application/wasm"
|
29
|
+
if path.endswith(".json"):
|
30
|
+
response.headers["Content-Type"] = "application/json"
|
31
|
+
if path.endswith(".png"):
|
32
|
+
response.headers["Content-Type"] = "image/png"
|
33
|
+
if path.endswith(".jpg"):
|
34
|
+
response.headers["Content-Type"] = "image/jpeg"
|
35
|
+
if path.endswith(".jpeg"):
|
36
|
+
response.headers["Content-Type"] = "image/jpeg"
|
37
|
+
if path.endswith(".gif"):
|
38
|
+
response.headers["Content-Type"] = "image/gif"
|
39
|
+
if path.endswith(".svg"):
|
40
|
+
response.headers["Content-Type"] = "image/svg+xml"
|
41
|
+
if path.endswith(".ico"):
|
42
|
+
response.headers["Content-Type"] = "image/x-icon"
|
43
|
+
if path.endswith(".html"):
|
44
|
+
response.headers["Content-Type"] = "text/html"
|
45
|
+
return response
|
22
46
|
|
23
47
|
app.run(port=port, debug=True)
|
24
48
|
except Exception as e:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: fastled
|
3
|
-
Version: 1.2.
|
3
|
+
Version: 1.2.16
|
4
4
|
Summary: FastLED Wasm Compiler
|
5
5
|
Home-page: https://github.com/zackees/fastled-wasm
|
6
6
|
Maintainer: Zachary Vorhies
|
@@ -285,6 +285,7 @@ A: A big chunk of space is being used by unnecessary javascript `emscripten` bun
|
|
285
285
|
|
286
286
|
# Revisions
|
287
287
|
|
288
|
+
* 1.2.16 - Force mime types in web browser as some users may not have it correct in their registry.
|
288
289
|
* 1.2.15 - Rewrote http server using flask. Reduced install size significantly.
|
289
290
|
* 1.2.13 - More fixes for npm live-server, now uses `static-npm` to launch it.
|
290
291
|
* 1.2.12 - Fixes for python npm for launching live-server
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|