diff --git a/dependencies/binaries/linux_64_37/site-packages/pyproj/datadir.py b/dependencies/binaries/linux_64_37/site-packages/pyproj/datadir.py index 50ec5c6..f532cf2 100644 --- a/dependencies/binaries/linux_64_37/site-packages/pyproj/datadir.py +++ b/dependencies/binaries/linux_64_37/site-packages/pyproj/datadir.py @@ -1 +1,6 @@ -import os; pyproj_datadir = os.environ.get('PROJ_LIB', '') \ No newline at end of file +import os + +if 'PROJ_DIR' in os.environ: + pyproj_datadir = os.environ['PROJ_DIR'] +else: + pyproj_datadir = os.sep.join([os.path.dirname(__file__), 'data']) diff --git a/dependencies/binaries/osx_64_37/site-packages/pyproj/datadir.py b/dependencies/binaries/osx_64_37/site-packages/pyproj/datadir.py index 50ec5c6..f532cf2 100644 --- a/dependencies/binaries/osx_64_37/site-packages/pyproj/datadir.py +++ b/dependencies/binaries/osx_64_37/site-packages/pyproj/datadir.py @@ -1 +1,6 @@ -import os; pyproj_datadir = os.environ.get('PROJ_LIB', '') \ No newline at end of file +import os + +if 'PROJ_DIR' in os.environ: + pyproj_datadir = os.environ['PROJ_DIR'] +else: + pyproj_datadir = os.sep.join([os.path.dirname(__file__), 'data']) diff --git a/dependencies/binaries/windows_64_37/site-packages/pyproj/datadir.py b/dependencies/binaries/windows_64_37/site-packages/pyproj/datadir.py index 50ec5c6..f532cf2 100644 --- a/dependencies/binaries/windows_64_37/site-packages/pyproj/datadir.py +++ b/dependencies/binaries/windows_64_37/site-packages/pyproj/datadir.py @@ -1 +1,6 @@ -import os; pyproj_datadir = os.environ.get('PROJ_LIB', '') \ No newline at end of file +import os + +if 'PROJ_DIR' in os.environ: + pyproj_datadir = os.environ['PROJ_DIR'] +else: + pyproj_datadir = os.sep.join([os.path.dirname(__file__), 'data'])