Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions install
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ if ! command -v uv &> /dev/null; then
fi

uv venv --python 3.11 --seed
uv pip install "maturin>=1.7,<2"
uv pip install -e .

uv pip install -r requirements.testing.txt
Expand Down
17 changes: 8 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
[build-system]
requires = ["setuptools>=65.5.1", "setuptools-scm", "wheel"]
build-backend = "setuptools.build_meta"
requires = ["maturin>=1.7,<2"]
build-backend = "maturin"

[project]
name = "fastled"
version = "2.0.6"
readme = "README.md"
description = "FastLED Wasm Compiler"
requires-python = ">=3.10"
Expand All @@ -27,13 +28,11 @@ dependencies = [
"zccache>=1.1.20",
]

dynamic = ["version"]

[tool.setuptools]
package-dir = {"" = "src"}

[tool.setuptools.dynamic]
version = { attr = "fastled.__version__" }
[tool.maturin]
manifest-path = "crates/fastled-py/Cargo.toml"
module-name = "fastled._native"
python-source = "src"
features = ["pyo3/extension-module", "pyo3/abi3-py310"]

[tool.ruff]
line-length = 200
Expand Down
30 changes: 0 additions & 30 deletions setup.py

This file was deleted.

5 changes: 5 additions & 0 deletions src/fastled/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
from pathlib import Path

from .__version__ import __version__

try:
from fastled._native import version as _native_version
except ImportError:
_native_version = None
from .build_service import BuildService
from .build_types import BuildRequest, BuildResult
from .site.build import build
Expand Down
Loading