We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 660ba42 commit 62df471Copy full SHA for 62df471
tools/azure-sdk-tools/ci_tools/parsing/parse_functions.py
@@ -427,9 +427,8 @@ def get_version_py(setup_path: str) -> Optional[str]:
427
Given the path to pyproject.toml or setup.py, attempts to find a (_)version.py file and return its location.
428
"""
429
file_path, _ = os.path.split(setup_path)
430
- # Find path to _version.py recursively in azure folder of package
431
- azure_root_path = os.path.join(file_path, "azure")
432
- for root, _, files in os.walk(azure_root_path):
+ # Find path to _version.py recursively
+ for root, _, files in os.walk(file_path):
433
if VERSION_PY in files:
434
return os.path.join(root, VERSION_PY)
435
elif OLD_VERSION_PY in files:
0 commit comments