Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build via python -m build #184

Merged
merged 1 commit into from
Nov 28, 2023
Merged
Changes from all commits
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
2 changes: 1 addition & 1 deletion pynxtools/_build_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def get_vcs_version(tag_match="*[0-9]*") -> Optional[str]:
def _write_version_to_metadata():
version = get_vcs_version()
if version is None or not version:
raise ValueError("Could not determine version from nexus_definitions")
return

with open(
os.path.join(os.path.dirname(__file__), "nexus-version.txt"),
Expand Down
Loading