Skip to content

Commit

Permalink
🐛 revert METADATA unlink
Browse files Browse the repository at this point in the history
Signed-off-by: rjdbcm <[email protected]>
  • Loading branch information
rjdbcm committed Aug 28, 2024
1 parent 17f9908 commit 1755bd7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ozi/scripts/meson_dist_setuptools_scm.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# noqa: INP001
# ozi/scripts/meson_setuptools_scm.py
# ozi/scripts/meson_dist_setuptools_scm.py
# Part of the OZI Project, under the Apache License v2.0 with LLVM Exceptions.
# See LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
Expand Down Expand Up @@ -62,8 +62,6 @@
except TypeError:
print('no METADATA path provided by setuptools_scm, assuming OZI.build 1.3+', file=sys.stderr)
exit(0)
if path.exists():
path.unlink()
if path.parent != Path(dist).resolve():
raise RuntimeError('Invalid version_file path in pyproject.toml')
else:
Expand Down

0 comments on commit 1755bd7

Please sign in to comment.