-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtest.py
20 lines (18 loc) · 853 Bytes
/
test.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env python3
import os
import pythondata_software_compiler_rt
print("Found compiler_rt @ version", pythondata_software_compiler_rt.version_str, "(with data", pythondata_software_compiler_rt.data_version_str, ")")
print()
print("Data is in", pythondata_software_compiler_rt.data_location)
assert os.path.exists(pythondata_software_compiler_rt.data_location)
print("Data is version", pythondata_software_compiler_rt.data_version_str, pythondata_software_compiler_rt.data_git_hash)
print("-"*75)
print(pythondata_software_compiler_rt.data_git_msg)
print("-"*75)
print()
print("It contains:")
for root, dirs, files in os.walk(pythondata_software_compiler_rt.data_location):
dirs.sort()
for f in sorted(files):
path = os.path.relpath(os.path.join(root, f), pythondata_software_compiler_rt.data_location)
print(" -", path)