Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Critical setuptools issue resolved x 3.
This commit finalizes the resolution applied by the prior commit to both the "develop" and "install" setuptools subcommands. Previously, this resolution applied to only the latter. Specifically, this commit: * Mandatory dependencies bumped: * setuptools >= 36.7.2. A recent version of setuptools is now required, as this application requires the setuptools.command.easy_install.ScriptWriter.get_args() class method and thus the oldest version of setuptools with this method. Since official setuptools documentation fails to specify the exact version that first defined this method, we fallback to a sufficiently old version from 2017 known to do so. * Generalized the "setup.py" submodule: * Called the newly defined betse_setup.buputil.die_unless_setuptools_version_at_least() validator to ensure the currently installed version of setuptools satisfies all installation-time requirements. * Generalized the "betse.metadeps" submodule: * Defined a new "SETUPTOOLS_VERSION_MIN" global, providing the minimum version of "setuptools"required at both install- and runtime. Previously, this global was inaccessibly hardcoded into the coarse-grained "RUNTIME_MANDATORY" global. * Generalized the "betse_setup.buputil" submodule. * Defined a new die_unless_setuptools_version_at_least() validator, copied verbatim from the "betsee.beuputil" submodule. * Minimized this submodule to the smallest set of requisite functions required by the top-level "setup.py" script.
- Loading branch information