devenver: We don't use the manifest file
This commit is contained in:
parent
10b013f66d
commit
00cd69734a
@ -44,16 +44,10 @@ arg_parser.add_argument('--install-dir',
|
||||
default=default_base_install_dir,
|
||||
type=pathlib.Path)
|
||||
|
||||
arg_parser.add_argument('--manifest-file',
|
||||
help=f'Python file that has a get_manifest() function returning a dictionary of applications to download & install (see manifest.py for starters)',
|
||||
required=True,
|
||||
type=pathlib.Path)
|
||||
|
||||
arg_parser.add_argument('--version',
|
||||
action='version',
|
||||
version='DEVenver v1')
|
||||
|
||||
|
||||
args = arg_parser.parse_args()
|
||||
|
||||
base_downloads_dir = args.downloads_dir
|
||||
|
@ -333,12 +333,11 @@ with open(odin_msvc_uninstall_script_path, "w") as file:
|
||||
python_exe = pathlib.Path(installed_apps["Python"][0]['exe_path']).relative_to(devenver.base_install_dir)
|
||||
python_install_dir = pathlib.Path(installed_apps["Python"][0]['exe_path']).parent.relative_to(devenver.base_install_dir)
|
||||
win_setup_script_path = pathlib.Path(devenver.script_dir, "win_setup.py")
|
||||
manifest_script_path = pathlib.Path(devenver.script_dir, "devenver_manifest.py")
|
||||
|
||||
bootstrap_setup_script = f"""@echo off
|
||||
setlocal EnableDelayedExpansion
|
||||
set PYTHONHOME=%~dp0{python_install_dir}
|
||||
%~dp0{python_exe} {win_setup_script_path} --manifest-file {manifest_script_path}
|
||||
%~dp0{python_exe} {win_setup_script_path}
|
||||
pause
|
||||
"""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user