Skip to content

Commit 64608d1

Browse files
committed
fix PYTHONPATH
1 parent e7fce82 commit 64608d1

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/genai_lib.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- run: source ./ov/setupvars.sh && cmake -DCMAKE_BUILD_TYPE=Release -S ./ -B ./build/
1717
- run: source ./ov/setupvars.sh && cmake --build ./build/ -j
1818
- run: python -m pip install openvino # Can't load CenOS libraries from the archive
19-
- run: source ./ov/setupvars.sh && PYTHONPATH=./src/python/ python -c "from openvino.genai.py_generate_pipeline import LLMPipeline"
19+
- run: PYTHONPATH=./src/python/ python -c "from openvino.genai.py_generate_pipeline import LLMPipeline"
2020
- run: source ./ov/setupvars.sh && python -m pip install --pre --upgrade . --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly
2121
- run: python -c "from openvino.genai.py_generate_pipeline import LLMPipeline"
2222

@@ -37,6 +37,6 @@ jobs:
3737
- run: call w_openvino_toolkit_windows_2024.1.0.dev20240304_x86_64\setupvars.bat && cmake -DCMAKE_BUILD_TYPE=Release -S ./ -B ./build/
3838
- run: call w_openvino_toolkit_windows_2024.1.0.dev20240304_x86_64\setupvars.bat && cmake --build ./build/ -j
3939
- run: python -m pip install "numpy<1.27"
40-
- run: call w_openvino_toolkit_windows_2024.1.0.dev20240304_x86_64\setupvars.bat && set PYTHONPATH=./src/python;$PYTHONPATH && python -c "from openvino.genai.py_generate_pipeline import LLMPipeline"
40+
- run: call w_openvino_toolkit_windows_2024.1.0.dev20240304_x86_64\setupvars.bat && set PYTHONPATH=./src/python;%PYTHONPATH% && python -c "from openvino.genai.py_generate_pipeline import LLMPipeline"
4141
- run: call w_openvino_toolkit_windows_2024.1.0.dev20240304_x86_64\setupvars.bat && python -m pip install .
4242
- run: python -c "from openvino.genai.py_generate_pipeline import LLMPipeline"

pyproject.toml

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ sdist.cmake = true
2828
wheel.packages = ["src/python/openvino"]
2929
wheel.install-dir = "openvino/genai"
3030
wheel.build-tag = "000"
31-
wheel.py-api = ""
3231
wheel.license-files = ["LICENSE", "SECURITY.md", "third-party-programs.txt"]
3332

3433
[[tool.scikit-build.generate]]

0 commit comments

Comments
 (0)