Skip to content
This repository has been archived by the owner on Jun 4, 2020. It is now read-only.

Commit

Permalink
add path tho find ogr2ogr on max
Browse files Browse the repository at this point in the history
manual integartion of #60
  • Loading branch information
vmora committed Apr 7, 2017
1 parent cdc0dde commit 06eb263
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions versioning.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
if iswin:
sys.stdout = open(os.devnull, 'w')

gdal_mac_path = "/Library/Frameworks/GDAL.framework/Programs"
if any(platform.mac_ver()) and gdal_mac_path not in os.environ["PATH"]:
os.environ["PATH"] += ":"+gdal_mac_path

def os_info():
os_type = platform.system()
if os_type == "Linux":
Expand Down

0 comments on commit 06eb263

Please sign in to comment.