@@ -58,7 +58,7 @@ class WinPythonDistributionBuilder:
58
58
"""Builds a WinPython distribution."""
59
59
60
60
def __init__ (self , build_number : int , release_level : str , target_directory : Path , wheels_directory : Path ,
61
- tools_directories : list [Path ] = None , documentation_directories : list [ Path ] = None , verbose : bool = False ,
61
+ tools_directories : list [Path ] = None , verbose : bool = False ,
62
62
base_directory : Path = None , install_options : list [str ] = None , flavor : str = "" ):
63
63
"""
64
64
Initializes the WinPythonDistributionBuilder.
@@ -68,7 +68,6 @@ def __init__(self, build_number: int, release_level: str, target_directory: Path
68
68
target_directory: The base directory where WinPython will be created.
69
69
wheels_directory: Directory containing wheel files for packages.
70
70
tools_directories: List of directories containing development tools to include.
71
- documentation_directories: List of directories containing documentation to include.
72
71
verbose: Enable verbose output.
73
72
base_directory: Base directory for building (optional, for relative paths).
74
73
install_options: Additional pip install options.
@@ -79,7 +78,6 @@ def __init__(self, build_number: int, release_level: str, target_directory: Path
79
78
self .target_directory = Path (target_directory )
80
79
self .wheels_directory = Path (wheels_directory )
81
80
self .tools_directories = tools_directories or []
82
- self .documentation_directories = documentation_directories or []
83
81
self .verbose = verbose
84
82
self .winpython_directory : Path | None = None
85
83
self .distribution : wppm .Distribution | None = None
@@ -242,7 +240,7 @@ def rebuild_winpython_package(source_directory: Path, target_directory: Path, ar
242
240
def make_all (build_number : int , release_level : str , pyver : str , architecture : int , basedir : Path ,
243
241
verbose : bool = False , rebuild : bool = True , create_installer : str = "True" , install_options = ["--no-index" ],
244
242
flavor : str = "" , requirements : str | list [Path ] = None , find_links : str | list [Path ] = None ,
245
- source_dirs : Path = None , toolsdirs : str | list [Path ] = None , docsdirs : str | list [ Path ] = None ,
243
+ source_dirs : Path = None , toolsdirs : str | list [Path ] = None ,
246
244
python_target_release : str = None , # e.g. "37101" for 3.7.10
247
245
):
248
246
"""
@@ -262,14 +260,12 @@ def make_all(build_number: int, release_level: str, pyver: str, architecture: in
262
260
find_links: package directories (r'D:\Winpython\packages.srcreq')
263
261
source_dirs: the python.zip + rebuilt winpython wheel package directory
264
262
toolsdirs: Directory with development tools r'D:\WinPython\b asedir34\t .Slim'
265
- docsdirs: Directory with documentation r'D:\WinPython\b asedir34\docs.Slim'
266
263
python_target_release: Target Python release (str).
267
264
"""
268
265
assert basedir is not None , "The *basedir* directory must be specified"
269
266
assert architecture in (32 , 64 )
270
267
271
268
tools_dirs_list = parse_list_argument (toolsdirs , "," )
272
- docs_dirs_list = parse_list_argument (docsdirs , "," )
273
269
install_options_list = parse_list_argument (install_options , " " )
274
270
find_links_dirs_list = parse_list_argument (find_links , "," )
275
271
requirements_files_list = [Path (f ) for f in parse_list_argument (requirements , "," ) if f ]
@@ -285,7 +281,6 @@ def make_all(build_number: int, release_level: str, pyver: str, architecture: in
285
281
builder = WinPythonDistributionBuilder (
286
282
build_number , release_level , build_directory , wheels_directory = source_dirs ,
287
283
tools_directories = [Path (d ) for d in tools_dirs_list ],
288
- documentation_directories = [Path (d ) for d in docs_dirs_list ],
289
284
verbose = verbose , base_directory = basedir ,
290
285
install_options = install_options_list + find_links_options ,
291
286
flavor = flavor
@@ -321,5 +316,4 @@ def make_all(build_number: int, release_level: str, pyver: str, architecture: in
321
316
find_links = r"D:\Winpython\packages.srcreq" ,
322
317
source_dirs = r"D:\WinPython\basedir34\packages.win-amd64" ,
323
318
toolsdirs = r"D:\WinPython\basedir34\t.Slim" ,
324
- docsdirs = r"D:\WinPython\basedir34\docs.Slim" ,
325
319
)
0 commit comments