Package osgeo
[hide private]
[frames] | no frames]

Package osgeo

source code

Submodules [hide private]

Functions [hide private]
 
ver_str(ver) source code
Variables [hide private]
  _gdal = swig_import_helper()
  gdal_version = tuple(int(s) for s in str(__version__).split('....
  python_version = tuple(version_info) [: 3]
  fail_on_unsupported_version = False
  gdal_version_and_min_supported_python_version = 0, 0, (0, 0), ...
  minimum_supported_python_version_for_this_gdal_version = None
  this_python_version_will_be_deprecated_in_gdal_version = None
  last_gdal_version_to_supported_your_python_version = None
  next_version_of_gdal_will_use_python_version = None
  msg = 'You are using Python {} with GDAL {}. ' 'This Python ve...
Variables Details [hide private]

gdal_version

Value:
tuple(int(s) for s in str(__version__).split('.') if s.isdigit()) [: 3\
]

gdal_version_and_min_supported_python_version

Value:
0, 0, (0, 0), ((1, 0), (2, 0)), ((2, 0), (2, 7)), ((3, 3), (3, 6)),

msg

Value:
'You are using Python {} with GDAL {}. ' 'This Python version will be \
deprecated in GDAL {}. ' 'Please consider upgrading your Python versio\
n to Python >= {}, ' 'Which will be the minimum supported Python versi\
on of GDAL {}.'.format(ver_str(python_version), ver_str(gdal_version),\
 ver_str(this_python_version_will_be_deprecated_in_gdal_version), ver_\
str(next_version_of_gdal_will_use_python_version), ver_str(this_python\
_version_will_be_deprecated_in_gdal_version))