Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

avoid trying to determine relative path from python module to plugins…

… as this can make flexible packaging harder - closes #1171
  • Loading branch information...
commit 7fe677dd41de2172dcf77bbe95b6e9cab67d4a2c 1 parent 19b51fd
@springmeyer springmeyer authored
Showing with 1 addition and 4 deletions.
  1. +1 −4 bindings/python/
5 bindings/python/
@@ -143,10 +143,7 @@ def is_py3():
if not os.path.exists('mapnik'):
-if hasattr(os.path,'relpath'): # python 2.6 and above
- file('mapnik/','w').write(paths % (os.path.relpath(env['MAPNIK_LIB_DIR'],target_path)))
- file('mapnik/','w').write(paths % (env['MAPNIK_LIB_DIR']))
+file('mapnik/','w').write(paths % (env['MAPNIK_LIB_DIR']))
# force open perms temporarily so that `sudo scons install`
# does not later break simple non-install non-sudo rebuild
Please sign in to comment.
Something went wrong with that request. Please try again.