File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 15
15
from pkgutil import get_data
16
16
from zipfile import ZIP_DEFLATED , ZIP_STORED , BadZipFile , ZipFile
17
17
18
- __version__ = '2023.09.12 '
18
+ __version__ = '2024.04.22 '
19
19
20
20
21
21
def get_pip_main (ensurepip_root = None ):
@@ -402,14 +402,14 @@ def make_runner():
402
402
}
403
403
for k , v in self .ENV_ALIAS .items ():
404
404
kwargs [f'{ k } _env' ] = repr (v )
405
- code = get_data ('zipapps' , 'entry_point.py.template' ).decode ('u8' )
405
+ code = get_data (__name__ , 'entry_point.py.template' ).decode ('u8' )
406
406
(self ._cache_path / '__main__.py' ).write_text (code .format (** kwargs ))
407
407
408
- code = get_data ('zipapps' , 'ensure_zipapps.py.template' ).decode ('u8' )
408
+ code = get_data (__name__ , 'ensure_zipapps.py.template' ).decode ('u8' )
409
409
(self ._cache_path / 'ensure_zipapps.py' ).write_text (
410
410
code .format (** kwargs ))
411
411
412
- code = get_data ('zipapps' , 'activate_zipapps.py' ).decode ('u8' )
412
+ code = get_data (__name__ , 'activate_zipapps.py' ).decode ('u8' )
413
413
(self ._cache_path / 'activate_zipapps.py' ).write_text (code )
414
414
code += '\n \n activate()'
415
415
You can’t perform that action at this time.
0 commit comments