Skip to content

Commit

Permalink
make the globbing of the packages work in dev_setup from any invocati…
Browse files Browse the repository at this point in the history
…on directory (#16209)
  • Loading branch information
scbedd authored Jan 18, 2021
1 parent 1ca37b4 commit 41fe49a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/dev_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def select_install_type(pkg, run_develop, exceptions):

packages = {
tuple(os.path.dirname(f).rsplit(os.sep, 1))
for f in glob.glob("sdk/*/azure-*/setup.py") + glob.glob("tools/azure-*/setup.py")
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"))
}
# [(base_folder, package_name), ...] to {package_name: base_folder, ...}
packages = {package_name: base_folder for (base_folder, package_name) in packages}
Expand Down

0 comments on commit 41fe49a

Please sign in to comment.