Skip to content

Conversation

@monolith-jaehoon
Copy link

Add pyproject.toml for installing with uv without --no-build-isolation option

generated by ChatGPT
@Joe136
Copy link

Joe136 commented Nov 11, 2025

I have an extended version of the pyproject.toml

[project]
name = "xtcocotools"
dynamic = ["version", "dependencies"]
description = "Extended COCO API"
requires-python = ">=3.6"
readme = "README.md"

[project.license]
file = "LICENSE"

[project.urls]
homepage = "https://github.com/jin-s13/xtcocoapi"
repository = "https://github.com/jin-s13/xtcocoapi"

[build-system]
requires = ["setuptools>=18.0", "cython>=0.27.3", "numpy"]
build-backend = "setuptools.build_meta"

[tool.setuptools]
packages = ["xtcocotools"]

[tool.setuptools.dynamic]
version = { attr = "xtcocotools.version.__version__" }
dependencies = { file = ["requirements.txt"] }

[tool.setuptools.data-files]
"common" = ["common/*"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants