From d75196d7a1fca5dc4aaf52930365296017a30156 Mon Sep 17 00:00:00 2001 From: Andrei Betlen Date: Thu, 6 Apr 2023 21:33:54 -0400 Subject: [PATCH] Install with pip during build step Use setup.py install Upgrade version of setuptools Revert to develop Use setup.py build and pip install Just use pip install Use correct name in pyproject.toml Make pip install verbose --- .github/workflows/test.yaml | 12 ++++++------ pyproject.toml | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 826355a..e8beb9a 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -23,8 +23,8 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | - python -m pip install --upgrade pip pytest cmake scikit-build - python3 setup.py develop + python -m pip install --upgrade pip pytest cmake scikit-build setuptools + pip install . -v - name: Test with pytest run: | pytest @@ -46,8 +46,8 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | - python -m pip install --upgrade pip pytest cmake scikit-build - python3 setup.py develop + python -m pip install --upgrade pip pytest cmake scikit-build setuptools + pip install . -v - name: Test with pytest run: | pytest @@ -69,8 +69,8 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | - python -m pip install --upgrade pip pytest cmake scikit-build - python3 setup.py develop + python -m pip install --upgrade pip pytest cmake scikit-build setuptools + pip install . -v - name: Test with pytest run: | pytest \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index bafb743..2ef7cd4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [tool.poetry] -name = "llama_cpp" +name = "llama_cpp_python" version = "0.1.24" description = "Python bindings for the llama.cpp library" authors = ["Andrei Betlen "]