commit | 4cbea518a0827d23a41a45b03a8af729c2f16605 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@redhat.com> | Thu Feb 28 17:48:38 2019 +0100 |
committer | GitHub <noreply@github.com> | Thu Feb 28 17:48:38 2019 +0100 |
tree | 5c4e2aa160ce66c789424baaa4ab9f889bc85128 | |
parent | 4173772031747a9b249be4100b4aa9eda805ea23 [diff] |
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"