refactor(ad-pyproject.toml): init python venv by poetry

This commit is contained in:
songsenand 2024-02-14 20:04:58 +08:00
parent add79ab392
commit aa2401dbd0
1 changed files with 26 additions and 0 deletions

26
pyproject.toml Normal file
View File

@ -0,0 +1,26 @@
[tool.poetry]
name = "toydesigner-cgal"
version = "0.0.1"
description = "python bindings for some geometry algorithms in `cgal` (for [toydesigner](https://gitea.winkinshly.site/songsenand/ToyDesigner) only)"
authors = ["songsenand <songsenand@163.com>"]
license = "GPL"
readme = "README.md"
packages = [{include = "toydesigner_cgal"}]
[tool.poetry.dependencies]
python = "^3.11"
pybind11 = "^2.11.1"
[[tool.poetry.source]]
name = "ali"
url = "https://mirrors.aliyun.com/pypi/simple/"
priority = "primary"
[[tool.poetry.source]]
name = "PyPI"
priority = "primary"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"