8000 Install with pip during build step · coderonion/llama-cpp-python@d75196d · GitHub
[go: up one dir, main page]

Skip to content

Commit d75196d

Browse files
committed
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
1 parent dd1c298 commit d75196d

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/test.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ jobs:
2323
python-version: ${{ matrix.python-version }}
2424
- name: Install dependencies
2525
run: |
26-
python -m pip install --upgrade pip pytest cmake scikit-build
27-
python3 setup.py develop
26+
python -m pip install --upgrade pip pytest cmake scikit-build setuptools
27+
pip install . -v
2828
- name: Test with pytest
2929
run: |
3030
pytest
@@ -46,8 +46,8 @@ jobs:
4646
python-version: ${{ matrix.python-version }}
4747
- name: Install dependencies
4848
run: |
49-
python -m pip install --upgrade pip pytest cmake scikit-build
50-
python3 setup.py develop
49+
python -m pip install --upgrade pip pytest cmake scikit-build setuptools
50+
pip install . -v
5151
- name: Test with pytest
5252
run: |
5353
pytest
@@ -69,8 +69,8 @@ jobs:
6969
python-version: ${{ matrix.python-version }}
7070
- name: Install dependencies
7171
run: |
72-
python -m pip install --upgrade pip pytest cmake scikit-build
73-
python3 setup.py develop
72+
python -m pip install --upgrade pip pytest cmake scikit-build setuptools
73+
pip install . -v
7474
- name: Test with pytest
7575
run: |
7676
pytest

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tool.poetry]
2-
name = "llama_cpp"
2+
name = "llama_cpp_python"
33
version = "0.1.24"
44
description = "Python bindings for the llama.cpp library"
55
authors = ["Andrei Betlen <abetlen@gmail.com>"]

0 commit comments

Comments
 (0)
0