Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite8d8ccf

Browse files
committed
clean-up no-more-used modules and create_installer option
1 parent10dba93 commite8d8ccf

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 & 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
importos
1010
importre
1111
importshutil
12-
importsubprocess
13-
importsys
1412
frompathlibimportPath
15-
fromwppmimportwppm,utils,diff
13+
fromwppmimportwppm,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
defmake_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)

[8]ページ先頭

©2009-2025 Movatter.jp