From 727c59ce454c876191a66bd20860b62558f837b1 Mon Sep 17 00:00:00 2001 From: Ilya Gruzinov Date: Mon, 21 Sep 2020 17:23:05 +0300 Subject: [PATCH 1/2] Fix windows build --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index d713947..fbfc181 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,6 @@ [build-system] requires = ["setuptools", "wheel", "numpy"] +build-backend = "setuptools.build_meta:__legacy__" [tool.black] line-length = 120 From db5181692d9b4583ede7f2dd0d2c3902e845c641 Mon Sep 17 00:00:00 2001 From: Ilya Gruzinov Date: Tue, 22 Sep 2020 14:51:05 +0300 Subject: [PATCH 2/2] Correct README --- README.md | 2 +- pyproject.toml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index fe57922..f468f8a 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ Make sure you replace the paths in the following instructions with your own k4a It is important to replace `1.2.0` with your installed version of the SDK. ``` -pip install pyk4a --global-option=build_ext --global-option="-IC:\Program Files\Azure Kinect SDK v1.2.0\sdk\include" --global-option="-LC:\Program Files\Azure Kinect SDK v1.2.0\sdk\windows-desktop\amd64\release\lib" +pip install pyk4a --no-use-pep517 --global-option=build_ext --global-option="-IC:\Program Files\Azure Kinect SDK v1.4.1\sdk\include" --global-option="-LC:\Program Files\Azure Kinect SDK v1.4.1\sdk\windows-desktop\amd64\release\lib" ``` Don't forget to add the folder containing the release `k4a.dll` to your Path env variable `C:\Program Files\Azure Kinect SDK v1.2.0\sdk\windows-desktop\amd64\release\bin` diff --git a/pyproject.toml b/pyproject.toml index fbfc181..d713947 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,5 @@ [build-system] requires = ["setuptools", "wheel", "numpy"] -build-backend = "setuptools.build_meta:__legacy__" [tool.black] line-length = 120