Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 787846d

Browse files
rickpriceicanhasmath
authored andcommittedNov 20, 2024·
Fix problem when build_scripts directory does not exist
1 parent 6098745 commit 787846d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎setuptools/_distutils/command/build.py

+1
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ def finalize_options(self): # noqa: C901
111111
self.build_scripts = os.path.join(
112112
self.build_base, 'scripts-%d.%d' % sys.version_info[:2]
113113
)
114+
os.makedirs(self.build_scripts, exist_ok=True)
114115

115116
if self.executable is None and sys.executable:
116117
self.executable = os.path.normpath(sys.executable)

0 commit comments

Comments
 (0)
Please sign in to comment.