fastled 1.3.11__py3-none-any.whl → 1.3.13__py3-none-any.whl
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/__version__.py +1 -1
- fastled/app.py +0 -6
- fastled/compile_server_impl.py +0 -16
- fastled/docker_manager.py +2 -2
- fastled/parse_args.py +8 -6
- {fastled-1.3.11.dist-info → fastled-1.3.13.dist-info}/METADATA +4 -2
- {fastled-1.3.11.dist-info → fastled-1.3.13.dist-info}/RECORD +11 -11
- {fastled-1.3.11.dist-info → fastled-1.3.13.dist-info}/WHEEL +0 -0
- {fastled-1.3.11.dist-info → fastled-1.3.13.dist-info}/entry_points.txt +0 -0
- {fastled-1.3.11.dist-info → fastled-1.3.13.dist-info}/licenses/LICENSE +0 -0
- {fastled-1.3.11.dist-info → fastled-1.3.13.dist-info}/top_level.txt +0 -0
fastled/__version__.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# IMPORTANT! There's a bug in github which will REJECT any version update
|
2
2
|
# that has any other change in the repo. Please bump the version as the
|
3
3
|
# ONLY change in a commit, or else the pypi update and the release will fail.
|
4
|
-
__version__ = "1.3.
|
4
|
+
__version__ = "1.3.13"
|
5
5
|
|
6
6
|
__version_url_latest__ = "https://raw.githubusercontent.com/zackees/fastled-wasm/refs/heads/main/src/fastled/__version__.py"
|
fastled/app.py
CHANGED
@@ -13,12 +13,6 @@ from fastled.filewatcher import file_watcher_set
|
|
13
13
|
from fastled.parse_args import Args, parse_args
|
14
14
|
from fastled.sketch import find_sketch_directories, looks_like_fastled_repo
|
15
15
|
|
16
|
-
# from fastled.sketch import (
|
17
|
-
# find_sketch_directories,
|
18
|
-
# looks_like_fastled_repo,
|
19
|
-
# looks_like_sketch_directory,
|
20
|
-
# )
|
21
|
-
|
22
16
|
|
23
17
|
def run_server(args: Args) -> int:
|
24
18
|
interactive = args.interactive
|
fastled/compile_server_impl.py
CHANGED
@@ -249,22 +249,6 @@ class CompileServerImpl:
|
|
249
249
|
# to allow for interactive compilation
|
250
250
|
# interactive_sources = list(INTERACTIVE_SOURCES)
|
251
251
|
interactive_sources: list[tuple[Path, str]] = []
|
252
|
-
init_runtime_py = (
|
253
|
-
Path(self.fastled_src_dir)
|
254
|
-
/ ".."
|
255
|
-
/ ".."
|
256
|
-
/ "fastled-wasm"
|
257
|
-
/ "compiler"
|
258
|
-
/ "init_runtime.py"
|
259
|
-
)
|
260
|
-
if init_runtime_py.exists():
|
261
|
-
# fastled-wasm is in a sister directory, mapping this in to the container.
|
262
|
-
mapping = (
|
263
|
-
init_runtime_py,
|
264
|
-
"/js/init_runtime.py",
|
265
|
-
)
|
266
|
-
interactive_sources.append(mapping)
|
267
|
-
|
268
252
|
src_host: Path
|
269
253
|
dst_container: str
|
270
254
|
for src_host, dst_container in interactive_sources:
|
fastled/docker_manager.py
CHANGED
@@ -227,7 +227,7 @@ def set_force_remove_image_previous(new_value: str | None = None) -> None:
|
|
227
227
|
if new_value is not None:
|
228
228
|
os.environ["FASTLED_FORCE_CLEAR"] = new_value
|
229
229
|
else:
|
230
|
-
os.environ["FASTLED_FORCE_CLEAR"]
|
230
|
+
os.environ["FASTLED_FORCE_CLEAR"] = "1"
|
231
231
|
|
232
232
|
|
233
233
|
def force_image_removal() -> bool:
|
@@ -653,7 +653,7 @@ class DockerManager:
|
|
653
653
|
Example: {8080: 80} maps host port 8080 to container port 80
|
654
654
|
"""
|
655
655
|
remove_previous = remove_previous or get_force_remove_image_previous()
|
656
|
-
if
|
656
|
+
if get_force_remove_image_previous():
|
657
657
|
# make a banner print
|
658
658
|
print(
|
659
659
|
"Force removing previous image due to FASTLED_FORCE_CLEAR environment variable."
|
fastled/parse_args.py
CHANGED
@@ -157,7 +157,6 @@ def parse_args() -> Args:
|
|
157
157
|
build_mode.add_argument(
|
158
158
|
"--quick",
|
159
159
|
action="store_true",
|
160
|
-
default=True,
|
161
160
|
help="Build in quick mode (default)",
|
162
161
|
)
|
163
162
|
build_mode.add_argument(
|
@@ -209,11 +208,14 @@ def parse_args() -> Args:
|
|
209
208
|
fastled_dir: Path | None = _find_fastled_repo(cwd)
|
210
209
|
is_fastled_dir: bool = fastled_dir is not None
|
211
210
|
|
212
|
-
if
|
213
|
-
|
214
|
-
|
215
|
-
args.
|
216
|
-
print("Defaulting to --
|
211
|
+
if not (args.debug or args.quick or args.release):
|
212
|
+
if is_fastled_dir:
|
213
|
+
# if --quick, --debug, --release are not specified then default to --debug
|
214
|
+
args.quick = True
|
215
|
+
print("Defaulting to --quick mode in fastled repo")
|
216
|
+
else:
|
217
|
+
args.quick = True
|
218
|
+
print("Defaulting to --quick mode")
|
217
219
|
|
218
220
|
if args.build or args.interactive:
|
219
221
|
if args.directory is not None:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: fastled
|
3
|
-
Version: 1.3.
|
3
|
+
Version: 1.3.13
|
4
4
|
Summary: FastLED Wasm Compiler
|
5
5
|
Home-page: https://github.com/zackees/fastled-wasm
|
6
6
|
Maintainer: Zachary Vorhies
|
@@ -20,7 +20,7 @@ Requires-Dist: progress>=1.6
|
|
20
20
|
Requires-Dist: watchfiles>=1.0.5
|
21
21
|
Requires-Dist: Flask>=3.0.0
|
22
22
|
Requires-Dist: livereload
|
23
|
-
Requires-Dist:
|
23
|
+
Requires-Dist: disklru>=2.0.4
|
24
24
|
Dynamic: home-page
|
25
25
|
Dynamic: license-file
|
26
26
|
Dynamic: maintainer
|
@@ -389,12 +389,14 @@ A: A big chunk of space is being used by unnecessary javascript `emscripten` bun
|
|
389
389
|
|
390
390
|
|
391
391
|
|
392
|
+
|
392
393
|
live-server --https --port=8416 --host=localhost . --cert=C:/Users/niteris/dev/fastled-wasm/src/fastled/assets/localhost-key.pem --key=C:/Users/niteris/dev/fastled-wasm/src/fastled/assets/localhost.pem --no-browser
|
393
394
|
|
394
395
|
|
395
396
|
live-server --https --cert=src/fastled/assets/localhost.pem --key=src/fastled/assets/localhost-key.pem --port=5500
|
396
397
|
|
397
398
|
|
399
|
+
|
398
400
|
## Performance
|
399
401
|
|
400
402
|
```
|
@@ -1,20 +1,20 @@
|
|
1
1
|
fastled/__init__.py,sha256=YLikXGRWKlKAqj7bpvGmJLejGTFF-FC1lv2z1jwRinA,6852
|
2
|
-
fastled/__version__.py,sha256=
|
3
|
-
fastled/app.py,sha256=
|
2
|
+
fastled/__version__.py,sha256=m3MDnXIf1z_shI54oAzNufb4rGivnhHu-P8HpLH8fWw,373
|
3
|
+
fastled/app.py,sha256=zfSipnCZ6w9_aXCynGrqf7OE--mKzbhT0mEfCNW5XjA,5736
|
4
4
|
fastled/args.py,sha256=d9CaarQ1yw7w0REwgrNQ78zOUQSk94fTXwXHtFZPTSY,3281
|
5
5
|
fastled/cli.py,sha256=drgR2AOxVrj3QEz58iiKscYAumbbin2vIV-k91VCOAA,561
|
6
6
|
fastled/cli_test.py,sha256=qJB9yLRFR3OwOwdIWSQ0fQsWLnA37v5pDccufiP_hTs,512
|
7
7
|
fastled/cli_test_interactive.py,sha256=BjNhveZOk5aCffHbcrxPQQjWmAuj4ClVKKcKX5eY6yM,542
|
8
8
|
fastled/client_server.py,sha256=uK-reqTN4umtVm8K3fcLo2Op_P_jFKVFtKFJRpBF1Xs,18598
|
9
9
|
fastled/compile_server.py,sha256=rkXvrvdav5vDG8lv_OlBX3YSCHtnHMt25nXbfeg_r78,2960
|
10
|
-
fastled/compile_server_impl.py,sha256=
|
11
|
-
fastled/docker_manager.py,sha256=
|
10
|
+
fastled/compile_server_impl.py,sha256=58MQl_qprKi6obgc_rLLlzwPck3rT3DcY-bcYGCDLy4,11595
|
11
|
+
fastled/docker_manager.py,sha256=1TCU_iMWnAeKrMjhB4qxdhq44tPRhpmImzmh_bCNRaM,40232
|
12
12
|
fastled/filewatcher.py,sha256=3qS3L7zMQhFuVrkeGn1djsB_cB6x_E2YGJmmQWVAU_w,10033
|
13
13
|
fastled/keyboard.py,sha256=UTAsqCn1UMYnB8YDzENiLTj4GeL45tYfEcO7_5fLFEg,3556
|
14
14
|
fastled/keyz.py,sha256=LO-8m_7CpNDiZLM-FXhQ30f9gN1bUYz5lOsUPTIbI-c,4020
|
15
15
|
fastled/live_client.py,sha256=yoAul8tVgbbPf1oEC79SUZSHkLECxlrXxgWR9XaBIp4,2957
|
16
16
|
fastled/open_browser.py,sha256=DFyMrc1qic4Go7eLNPqMaLuMvTaE73NixdfSKV0yyp8,3709
|
17
|
-
fastled/parse_args.py,sha256=
|
17
|
+
fastled/parse_args.py,sha256=Xj3jbNaTdEemqT1GcuhADvwT1mFX0InSC-Gzicqml1c,10791
|
18
18
|
fastled/paths.py,sha256=VsPmgu0lNSCFOoEC0BsTYzDygXqy15AHUfN-tTuzDZA,99
|
19
19
|
fastled/print_filter.py,sha256=oomBjrouWNPCgJY2guCpljTijFvNKRBVbipDrxIsszA,7426
|
20
20
|
fastled/project_init.py,sha256=bBt4DwmW5hZkm9ICt9Qk-0Nr_0JQM7icCgH5Iv-bCQs,3984
|
@@ -36,9 +36,9 @@ fastled/site/build.py,sha256=2YKU_UWKlJdGnjdbAbaL0co6kceFMSTVYwH1KCmgPZA,13987
|
|
36
36
|
fastled/site/examples.py,sha256=s6vj2zJc6BfKlnbwXr1QWY1mzuDBMt6j5MEBOWjO_U8,155
|
37
37
|
fastled/test/can_run_local_docker_tests.py,sha256=LEuUbHctRhNNFWcvnz2kEGmjDJeXO4c3kNpizm3yVJs,400
|
38
38
|
fastled/test/examples.py,sha256=GfaHeY1E8izBl6ZqDVjz--RHLyVR4NRnQ5pBesCFJFY,1673
|
39
|
-
fastled-1.3.
|
40
|
-
fastled-1.3.
|
41
|
-
fastled-1.3.
|
42
|
-
fastled-1.3.
|
43
|
-
fastled-1.3.
|
44
|
-
fastled-1.3.
|
39
|
+
fastled-1.3.13.dist-info/licenses/LICENSE,sha256=b6pOoifSXiUaz_lDS84vWlG3fr4yUKwB8fzkrH9R8bQ,1064
|
40
|
+
fastled-1.3.13.dist-info/METADATA,sha256=XL9cAYBBTNaTujUs94Z_bkpcmxLpKMMVyzuBCfX0gXw,30039
|
41
|
+
fastled-1.3.13.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
|
42
|
+
fastled-1.3.13.dist-info/entry_points.txt,sha256=RCwmzCSOS4-C2i9EziANq7Z2Zb4KFnEMR1FQC0bBwAw,101
|
43
|
+
fastled-1.3.13.dist-info/top_level.txt,sha256=Bbv5kpJpZhWNCvDF4K0VcvtBSDMa8B7PTOrZa9CezHY,8
|
44
|
+
fastled-1.3.13.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|