]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-36146: Refactor setup.py (GH-12093)
authorVictor Stinner <vstinner@redhat.com>
Thu, 28 Feb 2019 16:48:38 +0000 (17:48 +0100)
committerGitHub <noreply@github.com>
Thu, 28 Feb 2019 16:48:38 +0000 (17:48 +0100)
commit4cbea518a0827d23a41a45b03a8af729c2f16605
tree5c4e2aa160ce66c789424baaa4ab9f889bc85128
parent4173772031747a9b249be4100b4aa9eda805ea23
bpo-36146: Refactor setup.py (GH-12093)

* Rename globals to upper case to better distinguish if a variable is
  global or local:

  * Rename cross_compiling to CROSS_COMPILING
  * Rename host_platform to HOST_PLATFORM
  * Rename disabled_module_list to DISABLED_MODULE_LIST

* Add MS_WINDOWS, CYGWIN and MACOS constants.
* Use booleans: replace "return 0" with "return False"
  and replace "return 1" with "return True"
setup.py