<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Environment</title><link>https://sourceforge.net/p/winpython/wiki/Environment/</link><description>Recent changes to Environment</description><atom:link href="https://sourceforge.net/p/winpython/wiki/Environment/feed" rel="self"/><language>en</language><lastBuildDate>Thu, 26 Dec 2013 09:15:36 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/winpython/wiki/Environment/feed" rel="self" type="application/rss+xml"/><item><title>Environment modified by Pierre Raybaut</title><link>https://sourceforge.net/p/winpython/wiki/Environment/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,6 +1,6 @@
 ## General behavior

-The default behavior of WinPython regarding your machine configuration is to keep a low profile: no key is added to Windows registry, no shortcut is added to Windows start menu, and so on (unless you [register](https://code.google.com/p/winpython/wiki/Installation#Registration) your distribution). 
+The default behavior of WinPython regarding your machine configuration is to keep a low profile: no key is added to Windows registry, no shortcut is added to Windows start menu, and so on (unless you [register](https://sourceforge.net/p/winpython/wiki/Installation#Registration) your distribution). 

 Similarly, the environment variables are almost not affected by WinPython, except for the `PATH` environment variable which is modified at runtime by prepending and appending some required WinPython paths. But the original `PATH` contents are still there. This may cause conflict issues from time to time, hence the next section. 

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pierre Raybaut</dc:creator><pubDate>Thu, 26 Dec 2013 09:15:36 -0000</pubDate><guid>https://sourceforge.netaa1c7c74d311f49b2e2cbc09a18fbcb01976dee3</guid></item><item><title>Environment modified by Anonymous</title><link>https://sourceforge.net/p/winpython/wiki/Environment/</link><description>&lt;div class="markdown_content"&gt;&lt;h2 id="general-behavior"&gt;General behavior&lt;/h2&gt;
&lt;p&gt;The default behavior of WinPython regarding your machine configuration is to keep a low profile: no key is added to Windows registry, no shortcut is added to Windows start menu, and so on (unless you &lt;a class="" href="https://code.google.com/p/winpython/wiki/Installation#Registration" rel="nofollow"&gt;register&lt;/a&gt; your distribution). &lt;/p&gt;
&lt;p&gt;Similarly, the environment variables are almost not affected by WinPython, except for the &lt;code&gt;PATH&lt;/code&gt; environment variable which is modified at runtime by prepending and appending some required WinPython paths. But the original &lt;code&gt;PATH&lt;/code&gt; contents are still there. This may cause conflict issues from time to time, hence the next section. &lt;/p&gt;
&lt;h2 id="customizing-winpython-environment-variables"&gt;Customizing WinPython environment variables&lt;/h2&gt;
&lt;p&gt;Since v2.7.5.1 and v3.3.2.1, it is possible to override any environment variable in WinPython at runtime using the new WinPython configuration file named &lt;code&gt;winpython.ini&lt;/code&gt; and located in &lt;code&gt;settings&lt;/code&gt; WinPython folder (or in your user profile directory if you have removed the &lt;code&gt;settings&lt;/code&gt; folder). &lt;/p&gt;
&lt;p&gt;Here is the template &lt;code&gt;winpython.ini&lt;/code&gt; file which is created at runtime (if the file doesn't exist yet): &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="k"&gt;[debug]&lt;/span&gt;
&lt;span class="na"&gt;state&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s"&gt;disabled&lt;/span&gt;

&lt;span class="k"&gt;[environment]&lt;/span&gt;
&lt;span class="c1"&gt;## &amp;lt;?&amp;gt; Uncomment lines to override environment variables&lt;/span&gt;
&lt;span class="c1"&gt;#PATH = &lt;/span&gt;
&lt;span class="c1"&gt;#PYTHONPATH = &lt;/span&gt;
&lt;span class="c1"&gt;#PYTHONSTARTUP =&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Overriding the &lt;code&gt;PATH&lt;/code&gt; environment variable is quite simple: &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="k"&gt;[environment]&lt;/span&gt;
&lt;span class="c1"&gt;## &amp;lt;?&amp;gt; Uncomment lines to override environment variables&lt;/span&gt;
&lt;span class="na"&gt;PATH&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s"&gt;D:\foobar&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;That's it. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sat, 21 Dec 2013 15:47:00 -0000</pubDate><guid>https://sourceforge.net7d27ff3eaff4602911abefc8f60f5f63655b5ad4</guid></item></channel></rss>