]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-36146: Don't run code at setup.py top level (GH-12127)
authorVictor Stinner <vstinner@redhat.com>
Fri, 1 Mar 2019 16:19:04 +0000 (17:19 +0100)
committerGitHub <noreply@github.com>
Fri, 1 Mar 2019 16:19:04 +0000 (17:19 +0100)
commitc991f2415d4eef663039a83125aa6aad81672680
treef71520382f55c472ec2db59ffe98636a8e029079
parent5ec33a1c25a586552751ca35c85ab7ecb6b06ec3
bpo-36146: Don't run code at setup.py top level (GH-12127)

* Move set_compiler_flags() calls and concurrent.future hack from
  module top-level to main()
* Remove unused variables 'macros' and 'libraries' from
  detect_multiprocessing().
* Move SUMMARY and CLASSIFIERS constants at the top, move
  set_compiler_flags() function below these constants.
* Add some empty new lines to respect PEP 8.
setup.py