generated from cubao/pybind11-rdp
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix * update * remote pybind11 * move to src * update script * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * reset --------- Co-authored-by: tang zhixiong <zhixiong.tang@momenta.ai>
- Loading branch information
1 parent
fdbf813
commit 4a10f88
Showing
28 changed files
with
2,520 additions
and
450 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,4 @@ _generate/ | |
wheelhouse | ||
!test.py | ||
site | ||
stubs |
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 |
---|---|---|
@@ -1,7 +1,3 @@ | ||
[submodule "pybind11"] | ||
path = pybind11 | ||
url = https://github.com/pybind/pybind11.git | ||
branch = master | ||
[submodule "headers"] | ||
path = headers | ||
url = https://github.com/cubao/headers.git |
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 was deleted.
Oops, something went wrong.
Submodule headers
updated
12 files
+1 −1 | .github/workflows/wheels.yml | |
+1 −1 | build.py | |
+35 −29 | include/cubao/polyline_in_polygon.hpp | |
+42 −0 | include/cubao/polyline_ruler.hpp | |
+72 −36 | include/cubao/pybind11_cheap_ruler.hpp | |
+40 −20 | include/cubao/pybind11_crs_transform.hpp | |
+190 −46 | include/cubao/pybind11_fast_crossing.hpp | |
+62 −20 | include/cubao/pybind11_flatbush.hpp | |
+390 −0 | include/cubao/pybind11_naive_svg.hpp | |
+74 −27 | include/cubao/pybind11_nanoflann_kdtree.hpp | |
+131 −63 | include/cubao/pybind11_polyline_ruler.hpp | |
+142 −83 | include/cubao/pybind11_quiver.hpp |
Submodule pybind11
deleted from
8a801b
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 |
---|---|---|
@@ -1,25 +1,98 @@ | ||
[build-system] | ||
requires = [ | ||
"setuptools>=42", | ||
"wheel", | ||
"ninja", | ||
"cmake>=3.12", | ||
requires = ["scikit-build-core>=0.3.3", "pybind11"] | ||
build-backend = "scikit_build_core.build" | ||
|
||
|
||
[project] | ||
name = "fast_crossing" | ||
version = "0.1.0" | ||
url = "https://fast-crossing.readthedocs.io" | ||
description="fast crossing" | ||
readme = "README.md" | ||
authors = [ | ||
{ name = "district10", email = "dvorak4tzx@gmail.com" }, | ||
] | ||
build-backend = "setuptools.build_meta" | ||
requires-python = ">=3.7" | ||
classifiers = [ | ||
"Development Status :: 4 - Beta", | ||
"License :: OSI Approved :: MIT License", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
] | ||
|
||
[project.optional-dependencies] | ||
test = ["pytest", "scipy"] | ||
|
||
|
||
[tool.scikit-build] | ||
wheel.expand-macos-universal-tags = true | ||
|
||
[tool.isort] | ||
profile = "black" | ||
|
||
[tool.pytest.ini_options] | ||
minversion = "6.0" | ||
addopts = ["-ra", "--showlocals", "--strict-markers", "--strict-config"] | ||
xfail_strict = true | ||
filterwarnings = ["error"] | ||
log_cli_level = "INFO" | ||
filterwarnings = [ | ||
"error", | ||
] | ||
testpaths = ["tests"] | ||
|
||
|
||
[tool.cibuildwheel] | ||
test-command = "pytest {project}/tests" | ||
test-extras = ["test"] | ||
test-skip = ["*universal2:arm64"] | ||
# Setuptools bug causes collision between pypy and cpython artifacts | ||
before-build = "rm -rf {project}/build" | ||
build-verbosity = 1 | ||
|
||
|
||
[tool.ruff] | ||
src = ["src"] | ||
|
||
[tool.ruff.lint] | ||
exclude = ["*.pyi", "scripts/*.py"] | ||
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 = [ | ||
"ARG002", | ||
"EM101", | ||
"NPY002", | ||
"PLR09", # Too many X | ||
"PLR2004", # Magic comparison | ||
"PT018", | ||
"PTH100", | ||
"PTH103", | ||
"PTH119", | ||
"PTH120", | ||
"RUF013", | ||
] | ||
isort.required-imports = ["from __future__ import annotations"] | ||
|
||
[tool.ruff.lint.per-file-ignores] | ||
"tests/**" = ["T20"] |
Oops, something went wrong.