On Wed, 30 Oct 2002 21:42:47 -0500, Tim Peters wrote:
+1. Fine idea! The only caution is that a package may *need* those "future options" to install correctly -- but then that's up to the package's authoer to keep straight.
To make that last task easier, can we also add a
distutils.dist.Distribution.getSupportedOptions() -> list of strings
method? That would make the check read like so:
from distutils.dist import Distribution assert hasattr(Distribution, "getSupportedOptions") assert "foo" in Distribution.getSupportedOptions()
-- Jürgen Hermann, Developer WEB.DE AG, http://webde-ag.de/