@@ -2819,15 +2819,16 @@ def exclude_files(*files):
2819
2819
SUITE .vc .git_command (SUITE .dir , ["reset" , "--hard" ])
2820
2820
SUITE .vc .git_command (SUITE .dir , ["checkout" , "-" ])
2821
2821
mx .abort ("File 'version.py' is not available. Did you forget to run 'setup.py build' ?" )
2822
+ import_file (src_version_file , dest_version_file )
2822
2823
2823
2824
# 'abitag.py' goes to 'lib-graalpython/module/hpy/devel/'
2824
- dest_version_file = join (_get_core_home (), "modules" , "hpy" , "devel" , "abitag.py" )
2825
- src_version_file = join (hpy_repo_path , "hpy" , "devel" , "abitag.py" )
2826
- if not os .path .exists (src_version_file ):
2825
+ dest_abitag_file = join (_get_core_home (), "modules" , "hpy" , "devel" , "abitag.py" )
2826
+ src_abitag_file = join (hpy_repo_path , "hpy" , "devel" , "abitag.py" )
2827
+ if not os .path .exists (src_abitag_file ):
2827
2828
SUITE .vc .git_command (SUITE .dir , ["reset" , "--hard" ])
2828
2829
SUITE .vc .git_command (SUITE .dir , ["checkout" , "-" ])
2829
2830
mx .abort ("File 'abitag.py' is not available. Did you forget to run 'setup.py build' ?" )
2830
- import_file (src_version_file , dest_version_file )
2831
+ import_file (src_abitag_file , dest_abitag_file )
2831
2832
2832
2833
# copy headers from .../hpy/hpy/devel/include' to 'header_dest'
2833
2834
# but exclude subdir 'cpython' (since that's only for CPython)
0 commit comments