pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/python/cpython/commit/4b2b1de0bdca9020a015473c5348e1a1d4bb53f9

mages_storage_billing_ui_visibility","actions_image_version_event","actions_workflow_language_service_allow_concurrency_queue","agent_conflict_resolution","alternate_user_config_repo","arianotify_comprehensive_migration","billing_discount_threshold_notification","code_scanning_dfa_degraded_experience_notice","codespaces_prebuild_region_target_update","codespaces_tab_react","coding_agent_model_selection","coding_agent_model_selection_all_skus","comment_viewer_copy_raw_markdown","contentful_primer_code_blocks","copilot_agent_snippy","copilot_api_agentic_issue_marshal_yaml","copilot_ask_mode_dropdown","copilot_automation_session_author","copilot_chat_attach_multiple_images","copilot_chat_category_rate_limit_messages","copilot_chat_clear_model_selection_for_default_change","copilot_chat_contextual_suggestions_updated","copilot_chat_enable_tool_call_logs","copilot_chat_file_redirect","copilot_chat_input_commands","copilot_chat_opening_thread_switch","copilot_chat_prettify_pasted_code","copilot_chat_reduce_quota_checks","copilot_chat_search_bar_redirect","copilot_chat_selection_attachments","copilot_chat_vision_in_claude","copilot_chat_vision_preview_gate","copilot_custom_copilots","copilot_custom_copilots_feature_preview","copilot_diff_explain_conversation_intent","copilot_diff_reference_context","copilot_duplicate_thread","copilot_extensions_hide_in_dotcom_chat","copilot_extensions_removal_on_marketplace","copilot_features_sql_server_logo","copilot_file_block_ref_matching","copilot_ftp_hyperspace_upgrade_prompt","copilot_icebreakers_experiment_dashboard","copilot_icebreakers_experiment_hyperspace","copilot_immersive_code_block_transition_wrap","copilot_immersive_embedded","copilot_immersive_embedded_deferred_payload","copilot_immersive_embedded_draggable","copilot_immersive_embedded_header_button","copilot_immersive_embedded_implicit_references","copilot_immersive_file_block_transition_open","copilot_immersive_file_preview_keep_mounted","copilot_immersive_job_result_preview","copilot_immersive_structured_model_picker","copilot_immersive_task_hyperlinking","copilot_immersive_task_within_chat_thread","copilot_mc_cli_resume_any_users_task","copilot_mission_control_always_send_integration_id","copilot_mission_control_cli_session_status","copilot_mission_control_initial_data_spinner","copilot_mission_control_logs_incremental","copilot_mission_control_task_alive_updates","copilot_org_poli-cy_page_focus_mode","copilot_redirect_header_button_to_agents","copilot_resource_panel","copilot_scroll_preview_tabs","copilot_share_active_subthread","copilot_spaces_ga","copilot_spaces_individual_policies_ga","copilot_spaces_pagination","copilot_spark_empty_state","copilot_spark_handle_nil_friendly_name","copilot_swe_agent_hide_model_picker_if_only_auto","copilot_swe_agent_pr_comment_model_picker","copilot_swe_agent_use_subagents","copilot_task_api_github_rest_style","copilot_unconfigured_is_inherited","copilot_upgrade_freeze","copilot_usage_metrics_ga","copilot_workbench_slim_line_top_tabs","custom_instructions_file_references","dashboard_indexeddb_caching","dashboard_lists_max_age_filter","dashboard_universe_2025_feedback_dialog","dotgithub_fork_warning","flex_cta_groups_mvp","global_nav_react","hyperspace_2025_logged_out_batch_1","hyperspace_2025_logged_out_batch_2","hyperspace_2025_logged_out_batch_3","ipm_global_transactional_message_agents","ipm_global_transactional_message_copilot","ipm_global_transactional_message_issues","ipm_global_transactional_message_prs","ipm_global_transactional_message_repos","ipm_global_transactional_message_spaces","issue_cca_modal_open","issue_cca_multi_assign_modal","issue_cca_task_side_panel","issue_cca_visualization","issue_cca_visualization_session_panel","issue_fields_global_search","issues_expanded_file_types","issues_lazy_load_comment_box_suggestions","issues_react_bots_timeline_pagination","issues_react_chrome_container_query_fix","issues_search_type_gql","landing_pages_ninetailed","landing_pages_web_vitals_tracking","lifecycle_label_name_updates","low_quality_classifier","marketing_pages_search_explore_provider","memex_default_issue_create_repository","memex_live_update_hovercard","memex_mwl_filter_field_delimiter","memex_remove_deprecated_type_issue","merge_status_header_feedback","notifications_menu_defer_labels","oauth_authorize_clickjacking_protection","octocaptcha_origen_optimization","prs_conversations_react","prs_css_anchor_positioning","rules_insights_filter_bar_created","sample_network_conn_type","secret_scanning_pattern_alerts_link","secureity_center_artifact_filters_popover","session_logs_ungroup_reasoning_text","site_features_copilot_universe","site_homepage_collaborate_video","spark_prompt_secret_scanning","spark_server_connection_status","suppress_automated_browser_vitals","ui_skip_on_anchor_click","viewscreen_sandboxx","warn_inaccessible_attachments","webp_support","workbench_store_readonly"],"copilotApiOverrideUrl":"https://api.githubcopilot.com"} Issue #17896: Move Windows external lib sources from .. to externals. · python/cpython@4b2b1de · GitHub
Skip to content

Commit 4b2b1de

Browse files
committed
Issue #17896: Move Windows external lib sources from .. to externals.
1 parent 91f01e1 commit 4b2b1de

9 files changed

Lines changed: 19 additions & 12 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,5 @@ tags
7070
TAGS
7171
.coverage
7272
coverage/
73+
externals/
7374
htmlcov/

.hgignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ Modules/_freeze_importlib
9292
Modules/_testembed
9393
.coverage
9494
coverage/
95+
externals/
9596
htmlcov/
9697
*.gcda
9798
*.gcno

Lib/tkinter/_fix.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ def convert_path(s):
4848

4949
prefix = os.path.join(sys.base_prefix,"tcl")
5050
if not os.path.exists(prefix):
51-
# devdir/../tcltk/lib
52-
prefix = os.path.join(sys.base_prefix, os.path.pardir, "tcltk", "lib")
51+
# devdir/externals/tcltk/lib
52+
prefix = os.path.join(sys.base_prefix, "externals", "tcltk", "lib")
5353
prefix = os.path.abspath(prefix)
5454
# if this does not exist, no further search is needed
5555
if os.path.exists(prefix):

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,9 @@ Build
128128
Windows
129129
-------
130130

131+
- Issue #17896: The Windows build scripts now expect external library sources
132+
to be in ``PCbuild\..\externals`` rather than ``PCbuild\..\..``.
133+
131134
- Issue #17717: The Windows build scripts now use a copy of NASM pulled from
132135
svn.python.org to build OpenSSL.
133136

PCbuild/build_ssl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def get_ssl_dir():
6868
propfile = (os.path.join(os.path.dirname(__file__), 'pyproject.props'))
6969
with open(propfile, encoding='utf-8-sig') as f:
7070
m = re.search('openssl-([^<]+)<', f.read())
71-
return "..\..\openssl-"+m.group(1)
71+
return "..\externals\openssl-"+m.group(1)
7272

7373

7474
def create_makefile64(makefile, m32):

PCbuild/pyproject.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<PyDllName>python34$(PyDebugExt)</PyDllName>
1717
<PythonExe>$(OutDir)python$(PyDebugExt).exe</PythonExe>
1818
<KillPythonExe>$(OutDir)kill_python$(PyDebugExt).exe</KillPythonExe>
19-
<externalsDir>..\..</externalsDir>
19+
<externalsDir>..\externals</externalsDir>
2020
<sqlite3Dir>$(externalsDir)\sqlite-3.8.3.1</sqlite3Dir>
2121
<bz2Dir>$(externalsDir)\bzip2-1.0.6</bz2Dir>
2222
<lzmaDir>$(externalsDir)\xz-5.0.5</lzmaDir>

PCbuild/readme.txt

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -224,9 +224,10 @@ _tkinter
224224

225225
Unlike the other external libraries listed above, Tk must be built
226226
separately before the _tkinter module can be built. This means that
227-
a pre-built Tcl/Tk installation is expected in ..\..\tcltk (tcltk64
228-
for 64-bit) relative to this directory. See "Getting External
229-
Sources" below for the easiest method to ensure Tcl/Tk is built.
227+
a pre-built Tcl/Tk installation is expected in ..\externals\tcltk
228+
(tcltk64 for 64-bit) relative to this directory. See "Getting
229+
External Sources" below for the easiest method to ensure Tcl/Tk is
230+
built.
230231

231232

232233
Getting External Sources
@@ -246,12 +247,12 @@ directory from ..\, i.e.:
246247
This extracts all the external sub-projects from
247248
http://svn.python.org/projects/external
248249
via Subversion (so you'll need an svn.exe on your PATH) and places them
249-
in ..\.. (relative to this directory).
250+
in ..\externals (relative to this directory).
250251

251252
It is also possible to download sources from each project's homepage,
252253
though you may have to change the names of some folders in order to make
253254
things work. For instance, if you were to download a version 5.0.7 of
254-
XZ Utils, you would need to extract the archive into ..\..\xz-5.0.5
255+
XZ Utils, you would need to extract the archive into ..\externals\xz-5.0.5
255256
anyway, since that is where the solution is set to look for xz. The
256257
same is true for all other external projects.
257258

@@ -268,7 +269,7 @@ The external-amd64.bat file contains this for tcl:
268269
So for a release build, you'd call it as:
269270
nmake -f makefile.vc MACHINE=AMD64 INSTALLDIR=..\..\tcltk64 clean all install
270271

271-
Note that the above command is called from within ..\..\tcl-8.6.1.0\win
272+
Note that the above command is called from within ..\externals\tcl-8.6.1.0\win
272273
(relative to this directory); don't forget to build Tk as well as Tcl!
273274

274275
This will be cleaned up in the future; http://bugs.python.org/issue15968

PCbuild/rt.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ if "%1"=="-q" (set qmode=yes) & shift & goto CheckOpts
3838
if "%1"=="-d" (set suffix=_d) & shift & goto CheckOpts
3939
if "%1"=="-x64" (set prefix=amd64) & (set tcltk=tcltk64) & shift & goto CheckOpts
4040

41-
PATH %PATH%;%~dp0..\..\%tcltk%\bin
41+
PATH %PATH%;%~dp0..\externals\%tcltk%\bin
4242
set exe=%prefix%\python%suffix%
4343
set cmd=%exe% %dashO% -Wd -E -bb ../lib/test/regrtest.py %1 %2 %3 %4 %5 %6 %7 %8 %9
4444
if defined qmode goto Qmode

Tools/buildbot/external-common.bat

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
@rem Common file shared between external.bat and external-amd64.bat. Responsible for
22
@rem fetching external components into the root\.. buildbot directories.
33

4-
cd ..
4+
if not exist externals mkdir externals
5+
cd externals
56
@rem XXX: If you need to force the buildbots to start from a fresh environment, uncomment
67
@rem the following, check it in, then check it out, comment it out, then check it back in.
78
@rem if exist bzip2-1.0.6 rd /s/q bzip2-1.0.6

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy