8000 clean-up no-more-used modules and create_installer option · blog2i2j/winpython.._..winpython@e8d8ccf · GitHub
[go: up one dir, main page]

Skip to content

Commit e8d8ccf

Browse files
committed
clean-up no-more-used modules and create_installer option
1 parent 10dba93 commit e8d8ccf

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

generate_a_winpython_distro.bat

Lines changed: 1 addition &am 10000 p; 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ call %my_buildenv%\scripts\env.bat
6161

6262
REM Create basic build infrastructure
6363
echo "(%date% %time%) Create basic build infrastructure">>%my_archive_log%
64-
python.exe -c "from make import *;make_all(%my_release%, '%my_release_level%', basedir_wpy=r'%my_WINPYDIRBASE%', verbose=True, flavor='%my_flavor%', install_options=r'%my_install_options%', find_links=r'%my_find_links%', source_dirs=r'%my_source_dirs%', toolsdirs=r'%my_toolsdirs%', create_installer='False')">>%my_archive_log%
64+
python.exe -c "from make import *;make_all(%my_release%, '%my_release_level%', basedir_wpy=r'%my_WINPYDIRBASE%', verbose=True, flavor='%my_flavor%', install_options=r'%my_install_options%', find_links=r'%my_find_links%', source_dirs=r'%my_source_dirs%', toolsdirs=r'%my_toolsdirs%')">>%my_archive_log%
6565

6666
REM Check infrastructure is in place
6767
echo "(%date% %time%) Check infrastructure">>%my_archive_log%

make.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,8 @@
99
import os
1010
import re
1111
import shutil
12-
import subprocess
13-
import sys
1412
from pathlib import Path
15-
from wppm import wppm, utils, diff
13+
from wppm import wppm, utils
1614

1715
# Define constant paths for clarity
1816
PORTABLE_DIRECTORY = Path(__file__).parent / "portable"
@@ -183,7 +181,7 @@ def build(self, rebuild: bool = True, winpy_dir: Path = None):
183181
self.distribution.patch_standard_packages(package_name)
184182

185183
def make_all(build_number: int, release_level: str, basedir_wpy: Path = None,
186-
verbose: bool = False, rebuild: bool = True, create_installer: str = "True", install_options=["--no-index"],
184+
verbose: bool = False, rebuild: bool = True, install_options=["--no-index"],
187185
flavor: str = "", find_links: str | list[Path] = None,
188186
source_dirs: Path = None, toolsdirs: str | list[Path] = None,
189187
):
@@ -195,7 +193,6 @@ def make_all(build_number: int, release_level: str, basedir_wpy: Path = None,
195193
basedir_wpy: top directory of the build (c:\...\Wpy...)
196194
verbose: Enable verbose output (bool).
197195
rebuild: Whether to rebuild the distribution (bool).
198-
create_installer: Type of installer to create (str).
199196
install_options: pip options (r'--no-index --pre --trusted-host=None')
200197
flavor: WinPython flavor (str).
201198
find_links: package directories (r'D:\Winpython\packages.srcreq')

0 commit comments

Comments
 (0)
0