Skip to content

Commit 4e782be

Browse files
committed
Fix testpypi build
1 parent 3d8ab2b commit 4e782be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

prebuild.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def generate_pyproject_toml() -> None:
6060
print(f"Read: {VERSION_PY}")
6161
version_input = VERSION_PY.read_text()
6262
version = re.search(
63-
'^__version__\\s*=\\s*"([^"]+)"', version_input, re.M,
63+
'^__version__\\s*=\\s*["\'](.+)["\']', version_input, re.M,
6464
).group(1)
6565

6666
# Replace version.

0 commit comments

Comments
 (0)