fastled 1.2.50__py3-none-any.whl → 1.2.51__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/__init__.py CHANGED
@@ -13,7 +13,7 @@ from .types import BuildMode, CompileResult, CompileServerError
13
13
  # IMPORTANT! There's a bug in github which will REJECT any version update
14
14
  # that has any other change in the repo. Please bump the version as the
15
15
  # ONLY change in a commit, or else the pypi update and the release will fail.
16
- __version__ = "1.2.50"
16
+ __version__ = "1.2.51"
17
17
 
18
18
  DOCKER_FILE = (
19
19
  "https://raw.githubusercontent.com/zackees/fastled-wasm/refs/heads/main/Dockerfile"
fastled/app.py CHANGED
@@ -122,8 +122,7 @@ if __name__ == "__main__":
122
122
  import os
123
123
 
124
124
  os.chdir("../fastled")
125
- sys.argv.append("examples/wasm")
126
- sys.argv.append("--just-compile")
125
+ sys.argv.append("examples/FxWave2d")
127
126
  sys.exit(main())
128
127
  except KeyboardInterrupt:
129
128
  print("\nExiting from main...")
fastled/cli_test.py ADDED
@@ -0,0 +1,20 @@
1
+ import sys
2
+
3
+ from fastled.app import main as app_main
4
+
5
+ if __name__ == "__main__":
6
+ # Note that the entry point for the exe is in cli.py
7
+ try:
8
+ import os
9
+
10
+ os.chdir("../fastled")
11
+ # sys.argv.append("--server")
12
+ # sys.argv.append("--local")
13
+ sys.argv.append("examples/FxWave2d")
14
+ sys.exit(app_main())
15
+ except KeyboardInterrupt:
16
+ print("\nExiting from main...")
17
+ sys.exit(1)
18
+ except Exception as e:
19
+ print(f"Error: {e}")
20
+ sys.exit(1)