From 5d3676ee4329fc49ae830831c34e8e9512d8a73c Mon Sep 17 00:00:00 2001 From: Matthew Gordon Date: Thu, 5 Jun 2025 09:35:53 -0300 Subject: [PATCH] Add Mac and Windows wheels This should make the plugin compatible with those platforms, but I haven't tested it. --- README.md | 4 +++- blender_manifest.toml | 6 +++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0e7a5e1..aae8bf6 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,9 @@ TODO: make a proper build system. For Blender 4.4: ```sh -pip download rasterio --dest ./wheels --only-binary==:all: --python-version=3.11 +pip download rasterio --dest ./wheels --only-binary=:all: --python-version=3.11 --platform=manylinux_2_17_x86_64 +pip download rasterio --dest ./wheels --only-binary=:all: --python-version=3.11 --platform=macosx_11_0_arm64 +pip download rasterio --dest ./wheels --only-binary=:all: --python-version=3.11 --platform=win_amd64 # Or replcace ".." below with any directory. # blender_mapping_tools-0.1.0.zip will be placed in that directory. blender --command extension build --output-dir .. diff --git a/blender_manifest.toml b/blender_manifest.toml index 6d7bffd..88b9cfe 100644 --- a/blender_manifest.toml +++ b/blender_manifest.toml @@ -20,7 +20,11 @@ wheels = [ "./wheels/click-8.2.1-py3-none-any.whl", "./wheels/click_plugins-1.1.1-py2.py3-none-any.whl", "./wheels/cligj-0.7.2-py3-none-any.whl", + "./wheels/numpy-2.2.6-cp311-cp311-macosx_11_0_arm64.whl", "./wheels/numpy-2.2.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", + "./wheels/numpy-2.2.6-cp311-cp311-win_amd64.whl", "./wheels/pyparsing-3.2.3-py3-none-any.whl", - "./wheels/rasterio-1.4.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" + "./wheels/rasterio-1.4.1-cp311-cp311-macosx_11_0_arm64.whl", + "./wheels/rasterio-1.4.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", + "./wheels/rasterio-1.4.3-cp311-cp311-win_amd64.whl" ] \ No newline at end of file