Skip to content

build: add pyproject.toml for modern Python packaging#368

Open
majiayu000 wants to merge 1 commit intomicrosoft:mainfrom
majiayu000:fix/add-pyproject-toml
Open

build: add pyproject.toml for modern Python packaging#368
majiayu000 wants to merge 1 commit intomicrosoft:mainfrom
majiayu000:fix/add-pyproject-toml

Conversation

@majiayu000
Copy link

Summary

  • Add pyproject.toml for PEP 517/518 compliant builds
  • Consolidates dependencies from 3rdparty/llama.cpp/requirements/ files
  • Enables usage with modern package managers like uv

Usage with uv

uv pip install .

This keeps requirements.txt for backward compatibility while providing a modern alternative.

Fixes #330

Add pyproject.toml to support modern Python package managers like uv
and pip with PEP 517/518 builds. This provides an alternative to
conda for dependency management.

Dependencies are consolidated from the various requirements.txt files
in 3rdparty/llama.cpp/requirements/.

Usage with uv:
  uv pip install .

Fixes microsoft#330

Signed-off-by: majiayu000 <1835304752@qq.com>
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.

migrate to pyproject.toml from requirement.txt

1 participant