-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f84913b
commit d96e0b7
Showing
2 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import sys | ||
import glob | ||
import os | ||
|
||
sys.path.append(os.path.join('scripts', 'devops_tasks')) | ||
from common_tasks import get_package_properties | ||
|
||
def get_all_package_properties(service_directory_name): | ||
search_path = 'sdk/{0}/*/setup.py'.format(service_directory_name) | ||
for p in glob.glob(search_path, recursive=True): | ||
if os.path.basename(os.path.dirname(p)) != 'azure-mgmt' and os.path.basename(os.path.dirname(p)) != 'azure' and os.path.basename(os.path.dirname(p)) != 'azure-storage': | ||
print(get_package_properties(os.path.dirname(p))) |