Skip to content

Commit

Permalink
Link to setuptools issue
Browse files Browse the repository at this point in the history
  • Loading branch information
colesbury committed Nov 1, 2024
1 parent 287b6a6 commit 407bd87
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion distutils/command/build_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,8 @@ def run(self): # noqa: C901

# The official Windows free threaded Python installer doesn't set
# Py_GIL_DISABLED because its pyconfig.h is shared with the
# default build, so we need to define it here.
# default build, so we need to define it here
# (see pypa/setuptools#4662).
if os.name == 'nt' and is_freethreaded():
self.compiler.define_macro('Py_GIL_DISABLED', '1')

Expand Down

0 comments on commit 407bd87

Please sign in to comment.