#!/opt/local/Library/Frameworks/Python.framework/Versions/3.11/bin/python3.11

import sys

from osgeo.gdal import UseExceptions, deprecation_warn

# import osgeo_utils.gdal_sieve as a convenience to use as a script
from osgeo_utils.gdal_sieve import *  # noqa
from osgeo_utils.gdal_sieve import main

UseExceptions()

deprecation_warn("gdal_sieve")
sys.exit(main(sys.argv))
