diff --git a/{{ cookiecutter.repo_name }}/pyproject.toml b/{{ cookiecutter.repo_name }}/pyproject.toml index db62044..5c74401 100644 --- a/{{ cookiecutter.repo_name }}/pyproject.toml +++ b/{{ cookiecutter.repo_name }}/pyproject.toml @@ -30,6 +30,17 @@ dev = [ "ruff>=0.8.3", ] +# # if we use flash attention it's easier to install it afterwards, and it needs no build isolation +# flash = [ +# "flash-attn>=2.7.4", +# ] + +# [tool.uv] +# no-build-isolation-package = ["flash-attn"] + +[tool.uv.sources] +baukit = { git = "https://github.com/davidbau/baukit.git" } + # now there are many build systems we could use, the most compatible is setuptools. This works better with `pip install git+URL` from other tools like pip, poetry, etc [build-system] @@ -44,11 +55,10 @@ include = [""{{ cookiecutter.project_name.lower().replace(' ', '_') }}"*"] # requires = ["hatchling"] # build-backend = "hatchling.build" +#[tool.hatch.build.targets.wheel] +# packages = ["reprpo"] # [build-system] # requires = ["flit_core>=3.2,<4"] # build-backend = "flit_core.buildapi" -# [build-system] -# requires = ["pdm-backend"] -# build-backend = "pdm.backend"