<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.slicer.org/w/index.php?action=history&amp;feed=atom&amp;title=Slicer4%3ABuild_Instructions_For_Python</id>
	<title>Slicer4:Build Instructions For Python - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.slicer.org/w/index.php?action=history&amp;feed=atom&amp;title=Slicer4%3ABuild_Instructions_For_Python"/>
	<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer4:Build_Instructions_For_Python&amp;action=history"/>
	<updated>2026-04-03T23:48:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.33.0</generator>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Slicer4:Build_Instructions_For_Python&amp;diff=20239&amp;oldid=prev</id>
		<title>Ilknur.kabul at 15:29, 15 June 2011</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer4:Build_Instructions_For_Python&amp;diff=20239&amp;oldid=prev"/>
		<updated>2011-06-15T15:29:05Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 15:29, 15 June 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l13&quot; &gt;Line 13:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 13:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''''Important Notes For Developers:'''''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''''Important Notes For Developers:'''''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;External_python_win.cmake is updated for building python in vs2010. MSBuild commands for VS2010 are used for building python. For example, for the options&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;External_python_win.cmake is updated for building python in vs2010. MSBuild commands for VS2010 are used for building python. For example, for the options&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  set(python_build_type &amp;quot;Release&amp;quot;)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  set(python_build_type &amp;quot;Release&amp;quot;)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ilknur.kabul</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Slicer4:Build_Instructions_For_Python&amp;diff=20238&amp;oldid=prev</id>
		<title>Ilknur.kabul at 15:28, 15 June 2011</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer4:Build_Instructions_For_Python&amp;diff=20238&amp;oldid=prev"/>
		<updated>2011-06-15T15:28:56Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 15:28, 15 June 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l12&quot; &gt;Line 12:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 12:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     &amp;lt;tcltk64LibDebug&amp;gt;$(tcltk64Dir)\lib\tcl84g.lib &amp;lt;span style=&amp;quot;font-size:15px; color:#FF0000&amp;quot;&amp;gt;;&amp;lt;/span&amp;gt; $(tcltk64Dir)\lib\tk84g.lib&amp;lt;/tcltk64LibDebug&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     &amp;lt;tcltk64LibDebug&amp;gt;$(tcltk64Dir)\lib\tcl84g.lib &amp;lt;span style=&amp;quot;font-size:15px; color:#FF0000&amp;quot;&amp;gt;;&amp;lt;/span&amp;gt; $(tcltk64Dir)\lib\tk84g.lib&amp;lt;/tcltk64LibDebug&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''''Important Notes For Developers:'''''&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;External_python_win.cmake is updated for building python in vs2010. MSBuild commands for VS2010 are used for building python. For example, for the options&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;External_python_win.cmake is updated for building python in vs2010. MSBuild commands for VS2010 are used for building python. For example, for the options&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  set(python_build_type &amp;quot;Release&amp;quot;)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  set(python_build_type &amp;quot;Release&amp;quot;)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ilknur.kabul</name></author>
		
	</entry>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Slicer4:Build_Instructions_For_Python&amp;diff=20207&amp;oldid=prev</id>
		<title>Ilknur.kabul: Created page with 'For visual studio 2010, there is a different version of python.  You can download this file (Python-2.6.6-vs2010) from the archive.  If you want to download a new version of pyth…'</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Slicer4:Build_Instructions_For_Python&amp;diff=20207&amp;oldid=prev"/>
		<updated>2011-06-15T14:31:04Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;For visual studio 2010, there is a different version of python.  You can download this file (Python-2.6.6-vs2010) from the archive.  If you want to download a new version of pyth…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;For visual studio 2010, there is a different version of python. &lt;br /&gt;
You can download this file (Python-2.6.6-vs2010) from the archive.&lt;br /&gt;
&lt;br /&gt;
If you want to download a new version of python from the svn and use it for 2010 later. You can do the following steps:&lt;br /&gt;
# Open the solution file (python.sln) using vs2010&lt;br /&gt;
# It will show you Conversion Wizard. Using that Wizard convert the file.&lt;br /&gt;
# Open the pyproject.props file. In that file, put a semicolon between the lib files for tcltkLib, tcltkLibDebug, tcltk64Lib, tcltk64LibDebug.&lt;br /&gt;
&lt;br /&gt;
    &amp;lt;tcltkLib&amp;gt;$(tcltkDir)\lib\tcl84.lib &amp;lt;span style=&amp;quot;font-size:15px; color:#FF0000&amp;quot;&amp;gt;;&amp;lt;/span&amp;gt; $(tcltkDir)\lib\tk84.lib&amp;lt;/tcltkLib&amp;gt;&lt;br /&gt;
    &amp;lt;tcltkLibDebug&amp;gt;$(tcltkDir)\lib\tcl84g.lib &amp;lt;span style=&amp;quot;font-size:15px; color:#FF0000&amp;quot;&amp;gt;;&amp;lt;/span&amp;gt; $(tcltkDir)\lib\tk84g.lib&amp;lt;/tcltkLibDebug&amp;gt;&lt;br /&gt;
    &amp;lt;tcltk64Lib&amp;gt;$(tcltk64Dir)\lib\tcl84.lib &amp;lt;span style=&amp;quot;font-size:15px; color:#FF0000&amp;quot;&amp;gt;;&amp;lt;/span&amp;gt; $(tcltk64Dir)\lib\tk84.lib&amp;lt;/tcltk64Lib&amp;gt;&lt;br /&gt;
    &amp;lt;tcltk64LibDebug&amp;gt;$(tcltk64Dir)\lib\tcl84g.lib &amp;lt;span style=&amp;quot;font-size:15px; color:#FF0000&amp;quot;&amp;gt;;&amp;lt;/span&amp;gt; $(tcltk64Dir)\lib\tk84g.lib&amp;lt;/tcltk64LibDebug&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
External_python_win.cmake is updated for building python in vs2010. MSBuild commands for VS2010 are used for building python. For example, for the options&lt;br /&gt;
 set(python_build_type &amp;quot;Release&amp;quot;)&lt;br /&gt;
 set(python_platform &amp;quot;Win32&amp;quot;)&lt;br /&gt;
 set(python_configuration &amp;quot;${python_build_type}|${python_platform}&amp;quot;)&lt;br /&gt;
in VS2008, the build command was &lt;br /&gt;
 set(ep_command_args /build ${python_configuration} /project python) &lt;br /&gt;
For VS2010, this is changed to &lt;br /&gt;
 set(ep_command_args /p:configuration=${python_build_type} /p:platform=${python_platform} /t:python)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The lines &lt;br /&gt;
 ${CMAKE_COMMAND} -Din=${in} -Dout=${out} -Dfind=tcltk64\\&amp;quot; -Dreplace=tcl-build\\&amp;quot; -P &lt;br /&gt;
in External_python_win.cmake is changed to &lt;br /&gt;
 ${CMAKE_COMMAND} -Din=${in} -Dout=${out} -Dfind= &amp;lt;span style=&amp;quot;font-size:12px; color:#FF0000&amp;quot;&amp;gt;\\tcltk64&amp;lt;/span&amp;gt; -Dreplace= &amp;lt;span style=&amp;quot;font-size:12px; color:#FF0000&amp;quot;&amp;gt;\\tcl-build&amp;lt;/span&amp;gt; -P ${script})&lt;/div&gt;</summary>
		<author><name>Ilknur.kabul</name></author>
		
	</entry>
</feed>