Skip to content

Commit 748b9e4

Browse files
committed
Another update because proj directory seems to be in wrong location as well [publish]
1 parent 6267616 commit 748b9e4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@
125125
proj_path = subprocess.check_output([mapnik_config, '--proj-lib']).rstrip('\n')
126126
else:
127127
proj_path = 'mason_packages/.link/share/proj/'
128+
if os.path.exists('mason_packages/.link/share/proj/proj/'):
129+
gdal_path = 'mason_packages/.link/share/proj/proj/'
128130
if proj_path:
129131
proj_files = os.listdir(proj_path)
130132
proj_files = [os.path.join(proj_path, f) for f in proj_files]

0 commit comments

Comments
 (0)