From d684282a2885406ba040671c8eeb4bc853dca8f8 Mon Sep 17 00:00:00 2001 From: Erkan Ozgur Yilmaz Date: Tue, 26 Mar 2024 00:58:12 +0000 Subject: [PATCH] - Modified the way the library is build in github action --- .github/workflows/pytest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index abb24631..128ca9dc 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -88,7 +88,7 @@ jobs: - name: Compile C-Extensions run: | sudo chmod a+rw /etc/udev/rules.d - python3 setup.py install + python3 -m build cp ./build/lib.linux-x86_64-${{ env.add_dir_str }}/DisplayCAL/lib64/python${{ env.py_version }}/RealDisplaySizeMM.cpython-${{ env.py_version }}-x86_64-linux-gnu.so ./DisplayCAL/lib64/python${{ env.py_version }}/ - name: Test with pytest