mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-08-03 06:28:28 +08:00
Remove duplicate get_external_apt_dependencies.py and re-standardize CI package install logs (#14533)
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import itertools
|
||||
import os
|
||||
import sys
|
||||
|
||||
from ts_utils.metadata import read_metadata
|
||||
from ts_utils.paths import STUBS_PATH
|
||||
|
||||
if __name__ == "__main__":
|
||||
distributions = sys.argv[1:]
|
||||
if not distributions:
|
||||
distributions = os.listdir(STUBS_PATH)
|
||||
dependencies = set(
|
||||
itertools.chain.from_iterable(
|
||||
read_metadata(distribution).stubtest_settings.apt_dependencies for distribution in distributions
|
||||
)
|
||||
)
|
||||
for dependency in sorted(dependencies):
|
||||
print(dependency)
|
||||
@@ -5,5 +5,5 @@ from ts_utils.requirements import get_stubtest_system_requirements
|
||||
|
||||
if __name__ == "__main__":
|
||||
distributions = sys.argv[1:]
|
||||
for requirement in get_stubtest_system_requirements(distributions):
|
||||
for requirement in sorted(get_stubtest_system_requirements(distributions)):
|
||||
print(requirement)
|
||||
|
||||
Reference in New Issue
Block a user