Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,9 @@ def run(self):
dst_root = self.get_package_dir(".")
else:
dst_root = os.path.join(self.build_lib, "executorch")
# On Windows the package directory might not exist yet when building from a
# clean tree. Ensure it is created before we attempt to write version.py.
self.mkpath(dst_root)
# Create the version file.
Version.write_to_python_file(os.path.join(dst_root, "version.py"))

Expand Down
Loading