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
This commit is contained in:
Andrei Betlen 2023-04-06 21:33:54 -04:00
parent dd1c298620
commit d75196d7a1
2 changed files with 7 additions and 7 deletions

View file

@ -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

View file

@ -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 <abetlen@gmail.com>"]