build(pyproject.toml): 添加一些依赖

This commit is contained in:
songsenand 2024-02-16 07:27:45 +08:00
parent 0674af1e95
commit 4382d9dab7
1 changed files with 16 additions and 2 deletions

View File

@ -5,11 +5,13 @@ description = "python bindings for some geometry algorithms in `cgal` (for [toyd
authors = ["songsenand <songsenand@163.com>"]
license = "GPL"
readme = "README.md"
packages = [{include = "toydesigner_cgal"}]
packages = [{include = "tdcgal"}]
[tool.poetry.dependencies]
python = "^3.11"
pybind11 = "^2.11.1"
loguru = "^0.7.2"
sympy = "^1.12"
[[tool.poetry.source]]
name = "ali"
@ -21,6 +23,18 @@ priority = "primary"
name = "PyPI"
priority = "primary"
[tool.poetry.group.dev.dependencies]
pytest = "^8.0.0"
[build-system]
requires = ["poetry-core"]
requires = [
"poetry-core>=1.1.0",
"setuptools>=65.4.1",
"pybind11>=2.11.1"
]
build-backend = "poetry.core.masonry.api"
[tool.poetry.build]
script = "build.py"
generate-setup-file = false