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:
parent
dd1c298620
commit
d75196d7a1
2 changed files with 7 additions and 7 deletions
12
.github/workflows/test.yaml
vendored
12
.github/workflows/test.yaml
vendored
|
@ -23,8 +23,8 @@ jobs:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip pytest cmake scikit-build
|
python -m pip install --upgrade pip pytest cmake scikit-build setuptools
|
||||||
python3 setup.py develop
|
pip install . -v
|
||||||
- name: Test with pytest
|
- name: Test with pytest
|
||||||
run: |
|
run: |
|
||||||
pytest
|
pytest
|
||||||
|
@ -46,8 +46,8 @@ jobs:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip pytest cmake scikit-build
|
python -m pip install --upgrade pip pytest cmake scikit-build setuptools
|
||||||
python3 setup.py develop
|
pip install . -v
|
||||||
- name: Test with pytest
|
- name: Test with pytest
|
||||||
run: |
|
run: |
|
||||||
pytest
|
pytest
|
||||||
|
@ -69,8 +69,8 @@ jobs:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip pytest cmake scikit-build
|
python -m pip install --upgrade pip pytest cmake scikit-build setuptools
|
||||||
python3 setup.py develop
|
pip install . -v
|
||||||
- name: Test with pytest
|
- name: Test with pytest
|
||||||
run: |
|
run: |
|
||||||
pytest
|
pytest
|
|
@ -1,5 +1,5 @@
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "llama_cpp"
|
name = "llama_cpp_python"
|
||||||
version = "0.1.24"
|
version = "0.1.24"
|
||||||
description = "Python bindings for the llama.cpp library"
|
description = "Python bindings for the llama.cpp library"
|
||||||
authors = ["Andrei Betlen <abetlen@gmail.com>"]
|
authors = ["Andrei Betlen <abetlen@gmail.com>"]
|
||||||
|
|
Loading…
Reference in a new issue