-
Notifications
You must be signed in to change notification settings - Fork 0
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
7 changed files
with
143 additions
and
940 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 was deleted.
Oops, something went wrong.
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,33 +1,38 @@ | ||
[tool.poetry] | ||
[project] | ||
name = "earcut-py" | ||
version = "0.3.0" | ||
description = "A pure Python port of the Earcut polygon triangulation library." | ||
authors = [ | ||
"MIERUNE Inc. <[email protected]>", | ||
"Taku Fukada <[email protected]>", | ||
{ name = "MIERUNE Inc.", email = "[email protected]" }, | ||
{ name = "Taku Fukada", email = "[email protected]" }, | ||
] | ||
license = "ISC" | ||
dependencies = [] | ||
readme = "README.md" | ||
packages = [{include = "earcut"}] | ||
requires-python = ">= 3.9" | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.9" | ||
[build-system] | ||
requires = ["hatchling"] | ||
build-backend = "hatchling.build" | ||
|
||
[tool.poetry.group.dev.dependencies] | ||
pytest-cov = "^4.1" | ||
pytest = ">=7.4,<9.0" | ||
ruff = ">=0.1,<0.4" | ||
pyright = "^1.1" | ||
numpy = "^1.26" | ||
matplotlib = "^3.8" | ||
seaborn = "^0.13" | ||
[tool.rye] | ||
managed = true | ||
dev-dependencies = [ | ||
"pytest>=8.1.1", | ||
"pytest-cov>=4.1.0", | ||
"pyright>=1.1.355", | ||
"numpy>=1.24.4", | ||
"matplotlib>=3.7.5", | ||
"seaborn>=0.13.2", | ||
] | ||
|
||
[tool.ruff] | ||
ignore = ["E501"] | ||
[tool.hatch.metadata] | ||
allow-direct-references = true | ||
|
||
[build-system] | ||
requires = ["poetry-core"] | ||
build-backend = "poetry.core.masonry.api" | ||
[tool.hatch.build.targets.wheel] | ||
packages = ["src/earcut_py"] | ||
|
||
[tool.ruff.lint] | ||
ignore = ["E501"] | ||
|
||
[tool.coverage.run] | ||
source = ['earcut'] | ||
source = ['earcut'] |
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,67 @@ | ||
# generated by rye | ||
# use `rye lock` or `rye sync` to update this lockfile | ||
# | ||
# last locked with the following flags: | ||
# pre: false | ||
# features: [] | ||
# all-features: false | ||
# with-sources: false | ||
|
||
-e file:. | ||
contourpy==1.1.1 | ||
# via matplotlib | ||
coverage==7.4.4 | ||
# via pytest-cov | ||
cycler==0.12.1 | ||
# via matplotlib | ||
exceptiongroup==1.2.0 | ||
# via pytest | ||
fonttools==4.50.0 | ||
# via matplotlib | ||
importlib-resources==6.4.0 | ||
# via matplotlib | ||
iniconfig==2.0.0 | ||
# via pytest | ||
kiwisolver==1.4.5 | ||
# via matplotlib | ||
matplotlib==3.7.5 | ||
# via seaborn | ||
nodeenv==1.8.0 | ||
# via pyright | ||
numpy==1.24.4 | ||
# via contourpy | ||
# via matplotlib | ||
# via pandas | ||
# via seaborn | ||
packaging==24.0 | ||
# via matplotlib | ||
# via pytest | ||
pandas==2.0.3 | ||
# via seaborn | ||
pillow==10.2.0 | ||
# via matplotlib | ||
pluggy==1.4.0 | ||
# via pytest | ||
pyparsing==3.1.2 | ||
# via matplotlib | ||
pyright==1.1.355 | ||
pytest==8.1.1 | ||
# via pytest-cov | ||
pytest-cov==4.1.0 | ||
python-dateutil==2.9.0.post0 | ||
# via matplotlib | ||
# via pandas | ||
pytz==2024.1 | ||
# via pandas | ||
seaborn==0.13.2 | ||
setuptools==69.2.0 | ||
# via nodeenv | ||
six==1.16.0 | ||
# via python-dateutil | ||
tomli==2.0.1 | ||
# via coverage | ||
# via pytest | ||
tzdata==2024.1 | ||
# via pandas | ||
zipp==3.18.1 | ||
# via importlib-resources |
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,10 @@ | ||
# generated by rye | ||
# use `rye lock` or `rye sync` to update this lockfile | ||
# | ||
# last locked with the following flags: | ||
# pre: false | ||
# features: [] | ||
# all-features: false | ||
# with-sources: false | ||
|
||
-e file:. |
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,2 @@ | ||
def hello() -> str: | ||
return "Hello from earcut-py!" |