Commits
Andrew Stromnov authored ff573b8926f
1 + | --- pyproj/datadir.py.orig 2019-03-20 12:42:52.000000000 +0300 |
2 + | +++ pyproj/datadir.py 2019-03-20 12:46:37.000000000 +0300 |
3 + | |
4 + | |
5 + | """ |
6 + | global _USER_PROJ_DATA |
7 + | - internal_datadir = os.path.join( |
8 + | - os.path.dirname(os.path.abspath(__file__)), "proj_dir", "share", "proj" |
9 + | - ) |
10 + | + internal_datadir = "%%INTERNAL_DATADIR%%" |
11 + | |
12 + | def valid_data_dir(potential_data_dir): |
13 + | if potential_data_dir is not None and os.path.exists( |