From d707979fb8f416cc010e1b18719532fdaaf09fd4 Mon Sep 17 00:00:00 2001 From: Christoph Paulik Date: Tue, 19 Sep 2023 15:57:26 +0200 Subject: [PATCH 1/2] Don't include vcpkg setup for conda build --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4d0894ced..d76298c43 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.15) -include(cmake/vcpkg_setup.cmake) +# include(cmake/vcpkg_setup.cmake) project(${SKBUILD_PROJECT_NAME} LANGUAGES CXX VERSION ${SKBUILD_PROJECT_VERSION}) find_package(Python COMPONENTS Interpreter Development.Module) From 2d56100706c60f553b447ee19766a21201834969 Mon Sep 17 00:00:00 2001 From: Christoph Paulik Date: Wed, 20 Sep 2023 11:45:24 +0200 Subject: [PATCH 2/2] Fix path to mapnik input plugins The path should point to the `lib` folder and not to `lib/python3.x/site-packages/...` --- mapnik/paths.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mapnik/paths.py b/mapnik/paths.py index 4cd1fa52d..07eac3db4 100644 --- a/mapnik/paths.py +++ b/mapnik/paths.py @@ -1,6 +1,6 @@ import os -mapniklibpath = os.path.join(os.path.dirname(os.path.realpath(__file__)), "lib") +mapniklibpath = os.path.join(os.path.dirname(os.path.realpath(__file__)), '..', '..', '..') inputpluginspath = os.path.join(mapniklibpath, 'mapnik', 'input') fontscollectionpath = os.path.join(mapniklibpath, 'mapnik', 'fonts')