snapshot before regression test
This commit is contained in:
22
Projectrans.py
Normal file
22
Projectrans.py
Normal file
@@ -0,0 +1,22 @@
|
||||
#!/usr/bin/env python3
|
||||
"""ProjectTrans.py - 工程级 TransPyC 翻译器"""
|
||||
import lib._bootstrap # noqa: F401 设置 sys.path(项目根 + lib/includes)
|
||||
|
||||
from lib.Projectrans import (
|
||||
compute_sha1, _check_annotation_for_export, sha1_file,
|
||||
get_file_dependencies, find_reachable_files_from_entries,
|
||||
topological_sort_files, Phase1Generator, DeclarationGenerator,
|
||||
Phase2Translator, _parallel_translate_worker,
|
||||
save_sha1_map, Load_sha1_map, Load_project_config, resolve_paths, main
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
'compute_sha1', '_check_annotation_for_export', 'sha1_file',
|
||||
'get_file_dependencies', 'find_reachable_files_from_entries',
|
||||
'topological_sort_files', 'Phase1Generator', 'DeclarationGenerator',
|
||||
'Phase2Translator', '_parallel_translate_worker',
|
||||
'save_sha1_map', 'Load_sha1_map', 'Load_project_config', 'resolve_paths', 'main'
|
||||
]
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
Reference in New Issue
Block a user