<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SurlyJake &#187; configure</title>
	<atom:link href="http://www.surlyjake.com/tag/configure/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.surlyjake.com</link>
	<description></description>
	<lastBuildDate>Fri, 30 Dec 2011 15:28:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Create a single standalone .exe from a Python program</title>
		<link>http://www.surlyjake.com/2011/03/create-a-single-standalone-exe-from-a-python-program/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=create-a-single-standalone-exe-from-a-python-program</link>
		<comments>http://www.surlyjake.com/2011/03/create-a-single-standalone-exe-from-a-python-program/#comments</comments>
		<pubDate>Mon, 28 Mar 2011 13:53:00 +0000</pubDate>
		<dc:creator>jacob</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[configure]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.surlyjake.com/?p=754</guid>
		<description><![CDATA[I have been working on a small windows command line tool that I wanted to distribute it as a single executable file on windows. I tried cx_freeze and py2exe. Both of these tools worked well, but I couldn&#8217;t find an easy way to compress make the whole program into a .exe file. py2exe and cx_freeze [...]]]></description>
			<content:encoded><![CDATA[<p>I have been working on a small <a href="http://www.surlyjake.com/tag/windows/" class="st_tag internal_tag" rel="tag" title="Posts tagged with windows">windows</a> command line tool that I wanted to distribute it as a single executable file on <a href="http://www.surlyjake.com/tag/windows/" class="st_tag internal_tag" rel="tag" title="Posts tagged with windows">windows</a>. I tried cx_freeze and py2exe. Both of these tools worked well, but I couldn&#8217;t find an easy way to compress make the whole program into a .exe file. py2exe and cx_freeze both create working programs, but there are always some dependent .zip archive or .dll&#8217;s somewhere that need to be distributed with it. Pyinstaller, I found, actually compresses everything into a single .exe. This makes a pretty big executable (my small command line utility created a 5MB .exe file), but it&#8217;s simple and it works.</p>
<p>To use pyinstaller:</p>
<ol>
<li> grab pyinstaller 1.5rc (1.4 doesn&#8217;t work with <a href="http://www.surlyjake.com/tag/python-2/" class="st_tag internal_tag" rel="tag" title="Posts tagged with python">python</a> 2.7). extract the zip file anywhere.</li>
<li>change directories to the pyinstaller folder you just created.</li>
<li>Before you create your first executable, you will have to run this once.</li>
<pre><code>python <a href="http://www.surlyjake.com/tag/configure/" class="st_tag internal_tag" rel="tag" title="Posts tagged with configure">configure</a>.py</code></pre>
<li>Now, pyinstall needs to scan through your program and create what they call a spec file.</li>
<pre><code>python makespec.py --onefile path\to\program\program.py</code></pre>
<li>Now, run this command to generate the executable.</li>
<pre><code>python build.py program\program.spec</code></pre>
</ol>
<p>Once the command has finished, the standalone executable will be available in the program\dist folder inside of pyinstaller.<br />
Instructions for how to do this for a linux executable on <a href="http://www.surlyjake.com/tag/ubuntu/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Ubuntu">ubuntu</a> linux can be found here: <a href="http://excid3.com/blog/2009/12/pyinstaller-a-simple-tutorial/">http://excid3.com/blog/2009/12/pyinstaller-a-simple-tutorial/</a>. You can find more info on pyinstaller at their website: <a href="http://www.pyinstaller.org/">http://www.pyinstaller.org/</a>.</p>
<div class="none"><div class="g-plusone" data-href="http://www.surlyjake.com/2011/03/create-a-single-standalone-exe-from-a-python-program/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.surlyjake.com/2011/03/create-a-single-standalone-exe-from-a-python-program/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Pidgin OSD pop ups in Ubuntu Jaunty</title>
		<link>http://www.surlyjake.com/2009/07/pidgin-osd-pop-ups-in-ubuntu-jaunty/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=pidgin-osd-pop-ups-in-ubuntu-jaunty</link>
		<comments>http://www.surlyjake.com/2009/07/pidgin-osd-pop-ups-in-ubuntu-jaunty/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 15:17:52 +0000</pubDate>
		<dc:creator>jacob</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Pidgin]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[configure]]></category>
		<category><![CDATA[Jaunty]]></category>
		<category><![CDATA[Libnotify]]></category>
		<category><![CDATA[OSD]]></category>
		<category><![CDATA[Popups]]></category>

		<guid isPermaLink="false">http://www.surlyjake.com/?p=508</guid>
		<description><![CDATA[You can remove or configure the Pidgin pop up&#8217;s that you see from pidgin. Buddies logging on/off, and in my case, new messages. I didn&#8217;t want every new message i receive to be blasted up on the desktop OSD. To control what you see there, Pull up your Pidgin window (buddy window, not your conversation [...]]]></description>
			<content:encoded><![CDATA[<p>You can remove or <a href="http://www.surlyjake.com/tag/configure/" class="st_tag internal_tag" rel="tag" title="Posts tagged with configure">configure</a> the <a href="http://www.surlyjake.com/tag/pidgin/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Pidgin">Pidgin</a> pop up&#8217;s that you see from <a href="http://www.surlyjake.com/tag/pidgin/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Pidgin">pidgin</a>. Buddies logging on/off, and in my case, new messages. I didn&#8217;t want every new message i receive to be blasted up on the desktop <a href="http://www.surlyjake.com/tag/osd/" class="st_tag internal_tag" rel="tag" title="Posts tagged with OSD">OSD</a>. To control what you see there, Pull up your Pidgin window (buddy window, not your conversation box), then: Tools -&gt; Plugins -&gt; <a href="http://www.surlyjake.com/tag/libnotify/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Libnotify">Libnotify</a> <a href="http://www.surlyjake.com/tag/popups/" class="st_tag internal_tag" rel="tag" title="Posts tagged with Popups">Popups</a>. When you have selected the libnotify pop-ups, click on &#8220;configure plug-in&#8221;. That will give you some check boxes to customize the behaviour</p>
<div class="none"><div class="g-plusone" data-href="http://www.surlyjake.com/2009/07/pidgin-osd-pop-ups-in-ubuntu-jaunty/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.surlyjake.com/2009/07/pidgin-osd-pop-ups-in-ubuntu-jaunty/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

