Added a deprecation warning when using BUILD_WITH_GEO_LIBRARIES or installing pygdal

This commit is contained in:
Kevin Brolly
2019-10-21 15:32:19 +01:00
committed by Casey Faist
parent c126f6239d
commit a6510f0f77
3 changed files with 14 additions and 0 deletions
+7
View File
@@ -23,6 +23,13 @@ testGEOS() {
assertCapturedSuccess
}
testGEOSDeprecation() {
export BUILD_WITH_GEO_LIBRARIES=1
compile "geos"
assertCaptured "The GDAL, GEOS and PROJ binaries and BUILD_WITH_GEO_LIBRARIES functionality are now deprecated."
assertCapturedSuccess
}
testNLTK() {
# NOTE: This is a RuntimeWarning emitted by Python 3's runpy.py script
# which is what is used when you call `python -m <module>`. This is due to