From a34a8d483e00433edf39ec6929673fd713e8888d Mon Sep 17 00:00:00 2001 From: luca-medeiros Date: Wed, 16 Oct 2024 10:41:31 +0900 Subject: [PATCH] setuptools config --- pyproject.toml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 7a65de1..8897568 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,7 @@ +[build-system] +requires = ["setuptools", "wheel"] +build-backend = "setuptools.build_meta" + [project] name = "lang-sam" version = "0.1.0" @@ -12,13 +16,9 @@ dynamic = ["dependencies"] [tool.setuptools.dynamic] dependencies = {file = ["requirements.txt"]} -[build-system] -requires = ["setuptools", "wheel"] -build-backend = "setuptools.build_meta" - -[tool.setuptools] -packages = ["lang_sam"] -include_package_data = true +[tool.setuptools.packages.find] +where = ["."] +include = ["lang_sam"] [tool.ruff] target-version = "py311"