Skip to content

Commit

Permalink
Fix incorrect font/plugins path in our build
Browse files Browse the repository at this point in the history
  • Loading branch information
craigds committed Mar 12, 2024
1 parent e060c40 commit 8513199
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mapnik/paths.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import os
import platform

mapniklibpath = os.path.join(os.path.dirname(os.path.realpath(__file__)), "lib")

_machine = platform.machine()
mapniklibpath = f"/usr/lib/{_machine}-linux-gnu"
inputpluginspath = os.path.join(mapniklibpath, 'mapnik', 'input')
fontscollectionpath = os.path.join(mapniklibpath, 'mapnik', 'fonts')

Expand Down

0 comments on commit 8513199

Please sign in to comment.