fastled 1.1.41__tar.gz → 1.1.45__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.1.41 → fastled-1.1.45}/.aiderignore +7 -7
- fastled-1.1.45/.github/workflows/build_release.yml +64 -0
- fastled-1.1.45/.github/workflows/create_version_tag.yml +142 -0
- fastled-1.1.45/.github/workflows/test_build_exe.yml +45 -0
- {fastled-1.1.41 → fastled-1.1.45}/MANIFEST.in +2 -2
- {fastled-1.1.41 → fastled-1.1.45}/PKG-INFO +323 -321
- {fastled-1.1.41 → fastled-1.1.45}/README.md +2 -0
- {fastled-1.1.41 → fastled-1.1.45}/clean +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/docs/index.css +158 -158
- {fastled-1.1.41 → fastled-1.1.45}/install +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/lint +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/setup.cfg +4 -4
- {fastled-1.1.41 → fastled-1.1.45}/setup.py +24 -24
- {fastled-1.1.41 → fastled-1.1.45}/src/fastled/__init__.py +1 -1
- {fastled-1.1.41 → fastled-1.1.45}/src/fastled.egg-info/PKG-INFO +323 -321
- {fastled-1.1.41 → fastled-1.1.45}/src/fastled.egg-info/SOURCES.txt +3 -0
- {fastled-1.1.41 → fastled-1.1.45}/test +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/tests/test_webcompile.py +43 -43
- {fastled-1.1.41 → fastled-1.1.45}/upload_package.sh +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/.github/workflows/build_multi_docker_image.yml +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/.github/workflows/lint.yml +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/.github/workflows/test_macos.yml +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/.github/workflows/test_ubuntu.yml +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/.github/workflows/test_win.yml +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/.gitignore +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/.pylintrc +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/.vscode/launch.json +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/.vscode/settings.json +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/.vscode/tasks.json +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/LICENSE +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/build_exe.py +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/docs/fastled.js +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/docs/fastled.wasm +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/docs/index.html +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/docs/index.js +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/examples/Blink/Blink.ino +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/examples/Chromancer/Chromancer.ino +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/examples/Chromancer/detail.h +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/examples/Chromancer/gary_woos_wled_port/gary_woos_wled_ledmap.h +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/examples/Chromancer/gary_woos_wled_port/presets.json +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/examples/Chromancer/gary_woos_wled_port/presets.min.json +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/examples/Chromancer/gen.py +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/examples/Chromancer/mapping.h +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/examples/Chromancer/net.h +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/examples/Chromancer/output.json +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/examples/Chromancer/ripple.h +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/examples/Chromancer/screenmap.json.h +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/examples/ColorPalette/ColorPalette.ino +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/examples/ColorTemperature/ColorTemperature.ino +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/examples/Cylon/Cylon.ino +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/examples/DemoReel100/DemoReel100.ino +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/examples/Esp32Rmt51/Esp32Rmt51.ino +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/examples/EspI2SDemo/EspI2SDemo.ino +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/examples/Fire2012/Fire2012.ino +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/examples/Fire2012WithPalette/Fire2012WithPalette.ino +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/examples/FirstLight/FirstLight.ino +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/examples/FxEngine/FxEngine.ino +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/examples/Noise/Noise.ino +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/examples/NoisePlayground/NoisePlayground.ino +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/examples/NoisePlusPalette/NoisePlusPalette.ino +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/examples/OctoWS2811/OctoWS2811.ino +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/examples/Pacifica/Pacifica.ino +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/examples/Pride2015/Pride2015.ino +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/examples/TwinkleFox/TwinkleFox.ino +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/examples/Video/Gfx2Video/Gfx2Video.ino +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/examples/WasmScreenCoords/WasmScreenCoords.ino +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/examples/Water/Water.ino +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/examples/XYMatrix/XYMatrix.ino +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/examples/wasm/wasm.ino +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/pyproject.toml +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/requirements.testing.txt +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/src/fastled/app.py +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/src/fastled/assets/example.txt +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/src/fastled/cli.py +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/src/fastled/client_server.py +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/src/fastled/compile_server.py +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/src/fastled/compile_server_impl.py +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/src/fastled/docker_manager.py +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/src/fastled/filewatcher.py +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/src/fastled/keyboard.py +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/src/fastled/live_client.py +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/src/fastled/open_browser.py +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/src/fastled/parse_args.py +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/src/fastled/paths.py +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/src/fastled/project_init.py +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/src/fastled/select_sketch_directory.py +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/src/fastled/settings.py +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/src/fastled/sketch.py +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/src/fastled/spinner.py +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/src/fastled/string_diff.py +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/src/fastled/test/examples.py +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/src/fastled/types.py +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/src/fastled/util.py +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/src/fastled/web_compile.py +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/src/fastled.egg-info/dependency_links.txt +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/src/fastled.egg-info/entry_points.txt +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/src/fastled.egg-info/requires.txt +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/src/fastled.egg-info/top_level.txt +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/tests/test_api.py +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/tests/test_bad_ino.py +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/tests/test_cli.py +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/tests/test_compile_server.py +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/tests/test_docker_linux_on_windows.py +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/tests/test_embedded_data.py +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/tests/test_examples.py +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/tests/test_filechanger.py +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/tests/test_ino/bad/bad.ino +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/tests/test_ino/embedded/data/bigdata.dat +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/tests/test_ino/embedded/wasm.ino +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/tests/test_ino/wasm/wasm.ino +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/tests/test_project_init.py +0 -0
- {fastled-1.1.41 → fastled-1.1.45}/tests/test_server_and_client_seperatly.py +0 -0
@@ -1,7 +1,7 @@
|
|
1
|
-
# Add files or directories to ignore here
|
2
|
-
|
3
|
-
run
|
4
|
-
lint
|
5
|
-
test
|
6
|
-
install
|
7
|
-
clean
|
1
|
+
# Add files or directories to ignore here
|
2
|
+
|
3
|
+
run
|
4
|
+
lint
|
5
|
+
test
|
6
|
+
install
|
7
|
+
clean
|
@@ -0,0 +1,64 @@
|
|
1
|
+
name: Build and Publish Release
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
tags:
|
6
|
+
- 'v*' # Trigger on version tags
|
7
|
+
|
8
|
+
jobs:
|
9
|
+
build-and-publish:
|
10
|
+
runs-on: ubuntu-latest
|
11
|
+
steps:
|
12
|
+
- uses: actions/checkout@v4
|
13
|
+
|
14
|
+
- name: Set up Python
|
15
|
+
uses: actions/setup-python@v5
|
16
|
+
with:
|
17
|
+
python-version: '3.11'
|
18
|
+
|
19
|
+
- name: Install build dependencies
|
20
|
+
run: |
|
21
|
+
python -m pip install --upgrade pip
|
22
|
+
pip install build twine
|
23
|
+
|
24
|
+
- name: Build package
|
25
|
+
run: python -m build
|
26
|
+
|
27
|
+
- name: Publish to PyPI
|
28
|
+
env:
|
29
|
+
TWINE_USERNAME: __token__
|
30
|
+
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
|
31
|
+
run: twine upload dist/*
|
32
|
+
|
33
|
+
build-executables:
|
34
|
+
needs: build-and-publish
|
35
|
+
strategy:
|
36
|
+
matrix:
|
37
|
+
os: [ubuntu-latest, windows-latest, macos-latest]
|
38
|
+
runs-on: ${{ matrix.os }}
|
39
|
+
|
40
|
+
steps:
|
41
|
+
- uses: actions/checkout@v4
|
42
|
+
|
43
|
+
- uses: actions/setup-python@v5
|
44
|
+
with:
|
45
|
+
python-version: '3.11'
|
46
|
+
|
47
|
+
- name: Install UV
|
48
|
+
run: pip install uv
|
49
|
+
|
50
|
+
- name: Install dependencies
|
51
|
+
run: ./install
|
52
|
+
shell: bash
|
53
|
+
|
54
|
+
- name: Build executable
|
55
|
+
run: uv run build_exe.py
|
56
|
+
|
57
|
+
- name: Upload Release Asset
|
58
|
+
uses: softprops/action-gh-release@v1
|
59
|
+
with:
|
60
|
+
files: |
|
61
|
+
dist/fastled
|
62
|
+
dist/fastled.exe
|
63
|
+
draft: false
|
64
|
+
prerelease: false
|
@@ -0,0 +1,142 @@
|
|
1
|
+
name: Create Version Tag and Release
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches:
|
6
|
+
- main
|
7
|
+
paths:
|
8
|
+
- 'src/fastled/__init__.py'
|
9
|
+
|
10
|
+
jobs:
|
11
|
+
create-tag:
|
12
|
+
runs-on: ubuntu-latest
|
13
|
+
permissions:
|
14
|
+
contents: write
|
15
|
+
outputs:
|
16
|
+
new_version: ${{ steps.current_version.outputs.current }}
|
17
|
+
should_release: ${{ steps.current_version.outputs.current != steps.prev_version.outputs.previous }}
|
18
|
+
steps:
|
19
|
+
- uses: actions/checkout@v4
|
20
|
+
with:
|
21
|
+
fetch-depth: 2 # Need previous commit to compare
|
22
|
+
|
23
|
+
- name: Set up Python
|
24
|
+
uses: actions/setup-python@v5
|
25
|
+
with:
|
26
|
+
python-version: '3.11'
|
27
|
+
|
28
|
+
- name: Install UV
|
29
|
+
run: pip install uv
|
30
|
+
|
31
|
+
- name: Install dependencies
|
32
|
+
run: ./install
|
33
|
+
shell: bash
|
34
|
+
|
35
|
+
- name: Get current version
|
36
|
+
id: current_version
|
37
|
+
run: |
|
38
|
+
uv run fastled --version > current_version.txt
|
39
|
+
echo "current=$(cat current_version.txt)" >> $GITHUB_OUTPUT
|
40
|
+
|
41
|
+
- name: Get previous version
|
42
|
+
id: prev_version
|
43
|
+
run: |
|
44
|
+
git checkout HEAD~1
|
45
|
+
uv run fastled --version > prev_version.txt
|
46
|
+
echo "previous=$(cat prev_version.txt)" >> $GITHUB_OUTPUT
|
47
|
+
|
48
|
+
- name: Create Tag if version changed
|
49
|
+
if: steps.current_version.outputs.current != steps.prev_version.outputs.previous
|
50
|
+
run: |
|
51
|
+
git config --local user.email "action@github.com"
|
52
|
+
git config --local user.name "GitHub Action"
|
53
|
+
git tag -a "v${{ steps.current_version.outputs.current }}" -m "Release v${{ steps.current_version.outputs.current }}"
|
54
|
+
git push origin "v${{ steps.current_version.outputs.current }}"
|
55
|
+
|
56
|
+
build-and-publish:
|
57
|
+
needs: create-tag
|
58
|
+
if: needs.create-tag.outputs.should_release == 'true'
|
59
|
+
runs-on: ubuntu-latest
|
60
|
+
steps:
|
61
|
+
- uses: actions/checkout@v4
|
62
|
+
|
63
|
+
- name: Set up Python
|
64
|
+
uses: actions/setup-python@v5
|
65
|
+
with:
|
66
|
+
python-version: '3.11'
|
67
|
+
|
68
|
+
- name: Install build dependencies
|
69
|
+
run: |
|
70
|
+
python -m pip install --upgrade pip
|
71
|
+
pip install build twine
|
72
|
+
|
73
|
+
- name: Build package
|
74
|
+
run: python -m build
|
75
|
+
|
76
|
+
- name: Publish to PyPI
|
77
|
+
env:
|
78
|
+
TWINE_USERNAME: __token__
|
79
|
+
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
|
80
|
+
run: twine upload dist/*
|
81
|
+
|
82
|
+
build-executables:
|
83
|
+
needs: [create-tag, build-and-publish]
|
84
|
+
if: needs.create-tag.outputs.should_release == 'true'
|
85
|
+
strategy:
|
86
|
+
matrix:
|
87
|
+
os: [ubuntu-latest, windows-latest, macos-latest]
|
88
|
+
runs-on: ${{ matrix.os }}
|
89
|
+
|
90
|
+
steps:
|
91
|
+
- uses: actions/checkout@v4
|
92
|
+
|
93
|
+
- uses: actions/setup-python@v5
|
94
|
+
with:
|
95
|
+
python-version: '3.11'
|
96
|
+
|
97
|
+
- name: Install UV
|
98
|
+
run: pip install uv
|
99
|
+
|
100
|
+
- name: Install dependencies
|
101
|
+
run: ./install
|
102
|
+
shell: bash
|
103
|
+
|
104
|
+
- name: Build executable
|
105
|
+
run: uv run build_exe.py
|
106
|
+
|
107
|
+
- name: Upload artifact
|
108
|
+
uses: actions/upload-artifact@v3
|
109
|
+
with:
|
110
|
+
name: fastled-${{ runner.os }}-${{ runner.arch }}
|
111
|
+
path: |
|
112
|
+
dist/fastled
|
113
|
+
dist/fastled.exe
|
114
|
+
|
115
|
+
create-release:
|
116
|
+
needs: [create-tag, build-executables]
|
117
|
+
runs-on: ubuntu-latest
|
118
|
+
permissions:
|
119
|
+
contents: write
|
120
|
+
steps:
|
121
|
+
- name: Download all artifacts
|
122
|
+
uses: actions/download-artifact@v3
|
123
|
+
with:
|
124
|
+
path: artifacts
|
125
|
+
|
126
|
+
- name: Prepare release files
|
127
|
+
run: |
|
128
|
+
mkdir release
|
129
|
+
# Rename files with platform-specific names
|
130
|
+
[ -f artifacts/fastled-Windows-X64/fastled.exe ] && cp artifacts/fastled-Windows-X64/fastled.exe release/fastled-windows-x64.exe
|
131
|
+
[ -f artifacts/fastled-Linux-X64/fastled ] && cp artifacts/fastled-Linux-X64/fastled release/fastled-linux-x64
|
132
|
+
[ -f artifacts/fastled-macOS-ARM64/fastled ] && cp artifacts/fastled-macOS-ARM64/fastled release/fastled-macos-arm64
|
133
|
+
[ -f artifacts/fastled-macOS-X64/fastled ] && cp artifacts/fastled-macOS-X64/fastled release/fastled-macos-x64
|
134
|
+
chmod +x release/fastled-*
|
135
|
+
|
136
|
+
- name: Create Release
|
137
|
+
uses: softprops/action-gh-release@v1
|
138
|
+
with:
|
139
|
+
tag_name: v${{ needs.create-tag.outputs.new_version }}
|
140
|
+
files: release/*
|
141
|
+
draft: false
|
142
|
+
prerelease: false
|
@@ -0,0 +1,45 @@
|
|
1
|
+
name: Build Executables
|
2
|
+
|
3
|
+
on: [push]
|
4
|
+
|
5
|
+
jobs:
|
6
|
+
build:
|
7
|
+
runs-on: ${{ matrix.os }}
|
8
|
+
strategy:
|
9
|
+
matrix:
|
10
|
+
os: [ubuntu-latest, windows-latest, macos-latest]
|
11
|
+
python-version: [3.11]
|
12
|
+
|
13
|
+
steps:
|
14
|
+
- uses: actions/checkout@v4
|
15
|
+
|
16
|
+
- uses: actions/setup-python@v5
|
17
|
+
with:
|
18
|
+
python-version: ${{ matrix.python-version }}
|
19
|
+
|
20
|
+
- name: Install UV
|
21
|
+
run: pip install uv
|
22
|
+
|
23
|
+
- name: Install dependencies
|
24
|
+
run: ./install
|
25
|
+
shell: bash
|
26
|
+
|
27
|
+
- name: Build executable
|
28
|
+
run: uv run build_exe.py
|
29
|
+
|
30
|
+
- name: Test executable
|
31
|
+
shell: bash
|
32
|
+
run: |
|
33
|
+
if [ "${{ matrix.os }}" = "windows-latest" ]; then
|
34
|
+
./dist/fastled.exe --version
|
35
|
+
else
|
36
|
+
./dist/fastled --version
|
37
|
+
fi
|
38
|
+
|
39
|
+
- name: Upload artifacts
|
40
|
+
uses: actions/upload-artifact@v3
|
41
|
+
with:
|
42
|
+
name: fastled-${{ matrix.os }}
|
43
|
+
path: |
|
44
|
+
dist/fastled
|
45
|
+
dist/fastled.exe
|
@@ -1,3 +1,3 @@
|
|
1
|
-
include pyproject.toml
|
2
|
-
include requirements.testing.txt
|
1
|
+
include pyproject.toml
|
2
|
+
include requirements.testing.txt
|
3
3
|
include template_python_cmd/assets/example.txt
|