Skip to content

Commit

Permalink
Fix problem when build_scripts directory does not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
rickprice authored and icanhasmath committed Nov 20, 2024
1 parent 6098745 commit 787846d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions setuptools/_distutils/command/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ def finalize_options(self): # noqa: C901
self.build_scripts = os.path.join(
self.build_base, 'scripts-%d.%d' % sys.version_info[:2]
)
os.makedirs(self.build_scripts, exist_ok=True)

if self.executable is None and sys.executable:
self.executable = os.path.normpath(sys.executable)
Expand Down

0 comments on commit 787846d

Please sign in to comment.