Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ef0dabf

Browse files
authored
Merge pull request #1655 from stonebig/master
have the target structure more already made
2 parents 40edded + a59044e commit ef0dabf

23 files changed

+1
-15
lines changed

make.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -167,27 +167,13 @@ def _extract_python_archive(self):
167167

168168
def _copy_essential_files(self):
169169
"""Copies pre-made objects"""
170-
self._print_action("Copying default scripts")
171-
copy_items([PORTABLE_DIRECTORY / "scripts"], self.winpython_directory / "scripts", self.verbose)
172-
173170
self._print_action("Copying launchers")
174171
copy_items([PORTABLE_DIRECTORY / "launchers_final"], self.winpython_directory, self.verbose)
175172

176-
docs_target_directory = self.winpython_directory / "notebooks" / "docs"
177-
self._print_action(f"Copying documentation to {docs_target_directory}")
178-
copy_items(self.documentation_directories, docs_target_directory, self.verbose)
179-
180173
tools_target_directory = self.winpython_directory / "t"
181174
self._print_action(f"Copying tools to {tools_target_directory}")
182175
copy_items(self.tools_directories, tools_target_directory, self.verbose)
183176

184-
if (nodejs_current_directory := tools_target_directory / "n").is_dir():
185-
self._print_action(f"Moving tools from {nodejs_current_directory} to {tools_target_directory.parent / NODEJS_RELATIVE_PATH}")
186-
try:
187-
shutil.move(nodejs_current_directory, tools_target_directory.parent / NODEJS_RELATIVE_PATH)
188-
except Exception as e:
189-
print(f"Error moving Node.js directory: {e}")
190-
191177
def _create_initial_batch_scripts(self):
192178
"""Creates initial batch scripts, including environment setup."""
193179
self._print_action("Creating initial batch scripts")
@@ -295,7 +281,6 @@ def make_all(build_number: int, release_level: str, pyver: str, architecture: in
295281
os.makedirs(build_directory, exist_ok=True)
296282
# use source_dirs as the directory to re-build Winpython wheel
297283
winpython_source_dir = Path(__file__).resolve().parent
298-
# 2025-06-28 no more: rebuild_winpython_package(winpython_source_dir, Path(source_dirs), architecture, verbose)
299284

300285
builder = WinPythonDistributionBuilder(
301286
build_number, release_level, build_directory, wheels_directory=source_dirs,
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Examples are now to be found at github.com/winpython/winpython_afterdoc
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)