Skip to content

bpo-36146: Don't run code at setup.py top level#12127

Merged
vstinner merged 1 commit intopython:masterfrom
vstinner:refactor_setup_py6
Mar 1, 2019
Merged

bpo-36146: Don't run code at setup.py top level#12127
vstinner merged 1 commit intopython:masterfrom
vstinner:refactor_setup_py6

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Mar 1, 2019

  • 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.

https://bugs.python.org/issue36146

* 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.
@vstinner vstinner merged commit c991f24 into python:master Mar 1, 2019
@vstinner vstinner deleted the refactor_setup_py6 branch March 1, 2019 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants