Skip to content

Commit 41fe49a

Browse files
authored
make the globbing of the packages work in dev_setup from any invocation directory (Azure#16209)
1 parent 1ca37b4 commit 41fe49a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/dev_setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def select_install_type(pkg, run_develop, exceptions):
7777

7878
packages = {
7979
tuple(os.path.dirname(f).rsplit(os.sep, 1))
80-
for f in glob.glob("sdk/*/azure-*/setup.py") + glob.glob("tools/azure-*/setup.py")
80+
for f in glob.glob(os.path.join(root_dir, "sdk/*/azure-*/setup.py")) + glob.glob(os.path.join(root_dir, "tools/azure-*/setup.py"))
8181
}
8282
# [(base_folder, package_name), ...] to {package_name: base_folder, ...}
8383
packages = {package_name: base_folder for (base_folder, package_name) in packages}

0 commit comments

Comments
 (0)