-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
35 changed files
with
1,217 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
[build-system] | ||
requires = ["pybind11", "scikit-build-core>=0.3.2", "ninja"] | ||
build-backend = "scikit_build_core.build" | ||
|
||
[project] | ||
name = "luisarender-python" | ||
version = "0.0.2" | ||
description = "A High-Performance Rendering Framework with Layered and Unified Interfaces on Stream Architectures" | ||
readme = "README.md" | ||
authors = [ | ||
{ name = "LuisaGroup" }, | ||
] | ||
homepage = "luisa-render.com" | ||
repository = "https://github.com/LuisaGroup/LuisaRender" | ||
requires-python = ">=3.10" | ||
classifiers = [ | ||
"Development Status :: 4 - Beta", | ||
"License :: OSI Approved :: BSD License", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
] | ||
|
||
license = { file = "LICENSE" } | ||
|
||
[tool.scikit-build] | ||
cmake.minimum-version = "3.18" | ||
cmake.build-type = "Release" | ||
cmake.args = ["-GNinja","-Wno-dev"] | ||
sdist.reproducible = false | ||
wheel.expand-macos-universal-tags = true | ||
wheel.packages = [] | ||
build-dir = "build/{wheel_tag}" | ||
|
||
[project.optional-dependencies] | ||
test = ["pytest"] | ||
|
||
[tool.pytest.ini_options] | ||
minversion = "6.0" | ||
addopts = ["-ra", "--showlocals", "--strict-markers", "--strict-config"] | ||
xfail_strict = true | ||
log_cli_level = "INFO" | ||
filterwarnings = [ | ||
"error", | ||
] | ||
testpaths = ["tests"] | ||
|
||
[tool.cibuildwheel] | ||
test-command = "pytest {project}/tests" | ||
test-extras = ["test"] | ||
test-skip = ["*universal2:arm64"] | ||
build-verbosity = 1 | ||
|
||
[tool.ruff] | ||
src = ["src"] | ||
|
||
[tool.ruff.lint] | ||
extend-select = [ | ||
"B", # flake8-bugbear | ||
"I", # isort | ||
"ARG", # flake8-unused-arguments | ||
"C4", # flake8-comprehensions | ||
"EM", # flake8-errmsg | ||
"ICN", # flake8-import-conventions | ||
"G", # flake8-logging-format | ||
"PGH", # pygrep-hooks | ||
"PIE", # flake8-pie | ||
"PL", # pylint | ||
"PT", # flake8-pytest-style | ||
"PTH", # flake8-use-pathlib | ||
"RET", # flake8-return | ||
"RUF", # Ruff-specific | ||
"SIM", # flake8-simplify | ||
"T20", # flake8-print | ||
"UP", # pyupgrade | ||
"YTT", # flake8-2020 | ||
"EXE", # flake8-executable | ||
"NPY", # NumPy specific rules | ||
"PD", # pandas-vet | ||
] | ||
ignore = [ | ||
"PLR09", # Too many X | ||
"PLR2004", # Magic comparison | ||
] | ||
isort.required-imports = ["from __future__ import annotations"] | ||
|
||
[tool.ruff.lint.per-file-ignores] | ||
"tests/**" = ["T20"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule fast_float
updated
10 files
+1 −1 | .github/workflows/vs17-ci.yml | |
+1 −1 | CMakeLists.txt | |
+27 −93 | README.md | |
+8 −35 | include/fast_float/ascii_number.h | |
+1 −10 | include/fast_float/float_common.h | |
+3 −9 | include/fast_float/parse_number.h | |
+1 −2 | tests/CMakeLists.txt | |
+0 −69 | tests/fortran.cpp | |
+0 −71 | tests/json_fmt.cpp | |
+3 −18 | tests/rcppfastfloat_test.cpp |
Oops, something went wrong.