Skip to content

Commit

Permalink
datadir.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Elistratov committed Jan 24, 2019
1 parent 7932246 commit c9de0af
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
import os; pyproj_datadir = os.environ.get('PROJ_LIB', '')
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'])
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
import os; pyproj_datadir = os.environ.get('PROJ_LIB', '')
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'])
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
import os; pyproj_datadir = os.environ.get('PROJ_LIB', '')
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'])

0 comments on commit c9de0af

Please sign in to comment.