<?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>t+1 &#187; mlp</title>
	<atom:link href="http://blog.tplus1.com/index.php/category/mlp/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.tplus1.com</link>
	<description>Programming, gardening, economics, life in Cleveland Heights</description>
	<lastBuildDate>Sat, 07 Jan 2012 21:12:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Unauthorized Trader Joes commercial</title>
		<link>http://blog.tplus1.com/index.php/2009/10/17/unauthorized-trader-joes-commercial/</link>
		<comments>http://blog.tplus1.com/index.php/2009/10/17/unauthorized-trader-joes-commercial/#comments</comments>
		<pubDate>Sat, 17 Oct 2009 23:03:10 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[mlp]]></category>

		<guid isPermaLink="false">http://blog.tplus1.com/?p=487</guid>
		<description><![CDATA[
Thanks for the link Niels!
]]></description>
			<content:encoded><![CDATA[<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/OdB7GDZY3Pk&#038;color1=0xb1b1b1&#038;color2=0xcfcfcf&#038;feature=player_embedded&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed src="http://www.youtube.com/v/OdB7GDZY3Pk&#038;color1=0xb1b1b1&#038;color2=0xcfcfcf&#038;feature=player_embedded&#038;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="425" height="344"></embed></object></p>
<p>Thanks for the link Niels!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tplus1.com/index.php/2009/10/17/unauthorized-trader-joes-commercial/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Need help with data files and setup.py</title>
		<link>http://blog.tplus1.com/index.php/2009/04/21/need-help-with-data-files-and-setuppy/</link>
		<comments>http://blog.tplus1.com/index.php/2009/04/21/need-help-with-data-files-and-setuppy/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 03:00:28 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[TurboGears]]></category>
		<category><![CDATA[mlp]]></category>
		<category><![CDATA[pitz]]></category>

		<guid isPermaLink="false">http://blog.tplus1.com/?p=337</guid>
		<description><![CDATA[I&#8217;m working on a package that includes some files that are meant to be copied and edited by people using the package.
My project is named &#8220;pitz&#8221; and it is a bugtracker.  Instead of using a config file to set the options for a project, I want to use python files.
When somebody installs pitz, I [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m working on a package that includes some files that are meant to be copied and edited by people using the package.</p>
<p>My project is named &#8220;pitz&#8221; and it is a bugtracker.  Instead of using a config file to set the options for a project, I want to use python files.</p>
<p>When somebody installs pitz, I want to save some .py files somewhere so that when they run my pitz-setup script, I can go find those .py files and copy them into their working directory.</p>
<p>I have two questions:</p>
<ol>
<li>Do I need to write my setup.py file to specify that the .py files in particular directory need to be treated like data, not code?  For example, I don&#8217;t want the installer to hide those files inside an egg.</li>
<li>How can I find those .py files later and copy them?</li>
</ol>
<p>Here&#8217;s my setup.py so far:<br />
<pre><code>
from setuptools import setup, find_packages
version = &#039;0.1&#039;
setup(name=&#039;pitz&#039;,
&nbsp;&nbsp;&nbsp;&nbsp;version=version,
&nbsp;&nbsp;&nbsp;&nbsp;description=&quot;Python to-do tracker inspired by ditz (ditz.rubyforge.org)&quot;,

&nbsp;&nbsp;&nbsp;&nbsp;long_description=&quot;&quot;&quot;
ditz (http://ditz.rubyforge.org) is the best distributed ticketing
system that I know of.&nbsp;&nbsp;There&#039;s a few things I want to change, so I
started pitz.&quot;&quot;&quot;,

&nbsp;&nbsp;&nbsp;&nbsp;classifiers=[],
&nbsp;&nbsp;&nbsp;&nbsp;keywords=&#039;ditz&#039;,
&nbsp;&nbsp;&nbsp;&nbsp;author=&#039;Matt Wilson&#039;,
&nbsp;&nbsp;&nbsp;&nbsp;author_email=&#039;matt@tplus1.com&#039;,
&nbsp;&nbsp;&nbsp;&nbsp;url=&#039;http://tplus1.com&#039;,
&nbsp;&nbsp;&nbsp;&nbsp;license=&#039;&#039;,
&nbsp;&nbsp;&nbsp;&nbsp;packages=find_packages(exclude=[&#039;ez_setup&#039;, &#039;examples&#039;, &#039;tests&#039;]),

&nbsp;&nbsp;&nbsp;&nbsp;include_package_data=True,
&nbsp;&nbsp;&nbsp;&nbsp;package_dir={&#039;pitz&#039;:&#039;pitz&#039;},

&nbsp;&nbsp;&nbsp;&nbsp;data_files=[(&#039;share/pitz&#039;,
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#039;pitz/pitztypes/agilepitz.py.sample&#039;,
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#039;pitz/pitztypes/tracpitz.py.sample&#039;,
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;])],

&nbsp;&nbsp;&nbsp;&nbsp;zip_safe=False,
&nbsp;&nbsp;&nbsp;&nbsp;install_requires=[
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# &#039;PyYAML&#039;,
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# &#039;sphinx&#039;,
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# &#039;nose&#039;,
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# &#039;jinja2&#039;,
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# -*- Extra requirements: -*-
&nbsp;&nbsp;&nbsp;&nbsp;],

&nbsp;&nbsp;&nbsp;&nbsp;# I know about the much fancier entry points, but I prefer this
&nbsp;&nbsp;&nbsp;&nbsp;# solution.&nbsp;&nbsp;Why does everything have to be zany?
&nbsp;&nbsp;&nbsp;&nbsp;scripts = [&#039;scripts/pitz-shell&#039;],

&nbsp;&nbsp;&nbsp;&nbsp;test_suite = &#039;nose.collector&#039;,
)
</code></pre></p>
<p>When I run python setup.py install, I do get those .sample files copied, but they get copied into a folder way inside of my pitz install:<br />
<pre><code>
$ cd ~/virtualenvs/scratch/lib/
$ find -type f -name &#039;*.sample&#039;
./python2.6/site-packages/pitz-0.1dev-py2.6.egg/share/pitz/tracpitz.py.sample
./python2.6/site-packages/pitz-0.1dev-py2.6.egg/share/pitz/agilepitz.py.sample
</code></pre></p>
<p>I don&#8217;t know how I can write a script to copy those tracpitz.py.sample files out.  Maybe I can ask pitz what its version is, and then build a tring and use os.path.join, but that doesn&#8217;t look like any fun at all.</p>
<p>So, what should I do instead?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tplus1.com/index.php/2009/04/21/need-help-with-data-files-and-setuppy/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>Which one of you did this?</title>
		<link>http://blog.tplus1.com/index.php/2008/11/10/which-one-of-you-did-this/</link>
		<comments>http://blog.tplus1.com/index.php/2008/11/10/which-one-of-you-did-this/#comments</comments>
		<pubDate>Tue, 11 Nov 2008 00:01:17 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[mlp]]></category>

		<guid isPermaLink="false">http://blog.tplus1.com/?p=250</guid>
		<description><![CDATA[A two-year old elephant in the Houston Zoo died of the herpes virus.
We&#8217;ll all know who you are soon &#8212; you can&#8217;t hide your cold sores forever.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://link.brightcove.com/services/link/bcpid823425601/bclid958498245/bctid1896800113">A two-year old elephant in the Houston Zoo died of the herpes virus</a>.</p>
<p>We&#8217;ll all know who you are soon &#8212; you can&#8217;t hide your cold sores forever.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tplus1.com/index.php/2008/11/10/which-one-of-you-did-this/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Funny blog</title>
		<link>http://blog.tplus1.com/index.php/2008/11/01/funny-blog/</link>
		<comments>http://blog.tplus1.com/index.php/2008/11/01/funny-blog/#comments</comments>
		<pubDate>Sat, 01 Nov 2008 16:46:50 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[mlp]]></category>

		<guid isPermaLink="false">http://blog.tplus1.com/?p=241</guid>
		<description><![CDATA[The Houston Chronicle is doing something that I haven&#8217;t seen any other paper do &#8212; it hosts blogs and photos for its readers, and it draws links to those blogs from the front page.
Anyhow, I like this post a lot.
]]></description>
			<content:encoded><![CDATA[<p>The Houston Chronicle is doing something that I haven&#8217;t seen any other paper do &#8212; it hosts blogs and photos for its readers, and it draws links to those blogs from the front page.</p>
<p>Anyhow, I like <a href="http://www.chron.com/commons/persona.html?newspaperUserId=texasliberal&#038;plckController=PersonaBlog&#038;plckScript=personaScript&#038;plckElementId=personaDest&#038;plckPersonaPage=BlogViewPost&#038;plckPostId=Blog%3atexasliberalPost%3a94bcba0e-0e67-4d20-8613-97c7ee79843d&#038;plckCommentSortOrder=TimeStampAscending">this post</a> a lot.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tplus1.com/index.php/2008/11/01/funny-blog/feed/</wfw:commentRss>
		<slash:comments>-1</slash:comments>
		</item>
		<item>
		<title>Electric Stimulus to Face</title>
		<link>http://blog.tplus1.com/index.php/2008/10/25/electric-stimulus-to-face/</link>
		<comments>http://blog.tplus1.com/index.php/2008/10/25/electric-stimulus-to-face/#comments</comments>
		<pubDate>Sat, 25 Oct 2008 16:47:32 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[mlp]]></category>

		<guid isPermaLink="false">http://blog.tplus1.com/?p=233</guid>
		<description><![CDATA[Another find from lemonodor.

]]></description>
			<content:encoded><![CDATA[<p>Another find from <a href="http://lemonodor.tumblr.com">lemonodor</a>.</p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/YxdlYFCp5Ic&#038;color1=0xb1b1b1&#038;color2=0xcfcfcf&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/YxdlYFCp5Ic&#038;color1=0xb1b1b1&#038;color2=0xcfcfcf&#038;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tplus1.com/index.php/2008/10/25/electric-stimulus-to-face/feed/</wfw:commentRss>
		<slash:comments>-1</slash:comments>
		</item>
		<item>
		<title>haha</title>
		<link>http://blog.tplus1.com/index.php/2008/10/12/haha/</link>
		<comments>http://blog.tplus1.com/index.php/2008/10/12/haha/#comments</comments>
		<pubDate>Mon, 13 Oct 2008 00:57:46 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[mlp]]></category>

		<guid isPermaLink="false">http://blog.tplus1.com/?p=228</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/iz4Z6L4u8E4&#038;color1=0xb1b1b1&#038;color2=0xcfcfcf&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/iz4Z6L4u8E4&#038;color1=0xb1b1b1&#038;color2=0xcfcfcf&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tplus1.com/index.php/2008/10/12/haha/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>I really like The Knife</title>
		<link>http://blog.tplus1.com/index.php/2008/10/06/i-really-like-the-knife/</link>
		<comments>http://blog.tplus1.com/index.php/2008/10/06/i-really-like-the-knife/#comments</comments>
		<pubDate>Mon, 06 Oct 2008 14:41:02 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[mlp]]></category>
		<category><![CDATA[music]]></category>

		<guid isPermaLink="false">http://blog.tplus1.com/?p=225</guid>
		<description><![CDATA[
Random thoughts: Why does Sweden have so many bands that appeal to me?  This song makes me think about Suspended in Gaffa by Kate Bush and separately a bunch of 1980s new wave bands.  I&#8217;m sure all the cool kids have already moved on from The Knife to a band I won&#8217;t discover [...]]]></description>
			<content:encoded><![CDATA[<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/zUGyFYUlquo&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/zUGyFYUlquo&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p>Random thoughts: Why does Sweden have so many bands that appeal to me?  This song makes me think about Suspended in Gaffa by Kate Bush and separately a bunch of 1980s new wave bands.  I&#8217;m sure all the cool kids have already moved on from The Knife to a band I won&#8217;t discover until after Sarah Palin gets sworn in (evil always wins &#8212; just accept it).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tplus1.com/index.php/2008/10/06/i-really-like-the-knife/feed/</wfw:commentRss>
		<slash:comments>-1</slash:comments>
		</item>
		<item>
		<title>aq punches edit</title>
		<link>http://blog.tplus1.com/index.php/2008/09/28/aq-punches-edit/</link>
		<comments>http://blog.tplus1.com/index.php/2008/09/28/aq-punches-edit/#comments</comments>
		<pubDate>Sun, 28 Sep 2008 19:47:02 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[ineffable]]></category>
		<category><![CDATA[mlp]]></category>

		<guid isPermaLink="false">http://blog.tplus1.com/?p=223</guid>
		<description><![CDATA[From lemonodor auxiliary.
AQ_PUNCHES from John Wiseman on Vimeo.
]]></description>
			<content:encoded><![CDATA[<p>From <a href="http://lemonodor.tumblr.com/">lemonodor auxiliary</a>.</p>
<p><object width="400" height="226"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=1817713&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=1817713&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="226"></embed></object><br /><a href="http://vimeo.com/1817713?pg=embed&amp;sec=1817713">AQ_PUNCHES</a> from <a href="http://vimeo.com/user289846?pg=embed&amp;sec=1817713">John Wiseman</a> on <a href="http://vimeo.com?pg=embed&amp;sec=1817713">Vimeo</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tplus1.com/index.php/2008/09/28/aq-punches-edit/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>What Django can learn from Zope</title>
		<link>http://blog.tplus1.com/index.php/2008/09/16/what-django-can-learn-from-zope/</link>
		<comments>http://blog.tplus1.com/index.php/2008/09/16/what-django-can-learn-from-zope/#comments</comments>
		<pubDate>Tue, 16 Sep 2008 14:43:22 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[mlp]]></category>

		<guid isPermaLink="false">http://blog.tplus1.com/?p=217</guid>
		<description><![CDATA[Mark Ramm makes a lot of interesting points about Django in this talk.  Really good stuff.

]]></description>
			<content:encoded><![CDATA[<p><a href="http://compoundthinking.com">Mark Ramm</a> makes a lot of interesting points about Django in this talk.  Really good stuff.</p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/fipFKyW2FA4&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/fipFKyW2FA4&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tplus1.com/index.php/2008/09/16/what-django-can-learn-from-zope/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Olympic mishap</title>
		<link>http://blog.tplus1.com/index.php/2008/08/13/olympic-mishap/</link>
		<comments>http://blog.tplus1.com/index.php/2008/08/13/olympic-mishap/#comments</comments>
		<pubDate>Thu, 14 Aug 2008 00:26:31 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[mlp]]></category>

		<guid isPermaLink="false">http://blog.tplus1.com/?p=200</guid>
		<description><![CDATA[
Three comments:

Why did they have a team of people ready to run out with visual shields to block the stage?  Are horrifying injuries so expected that they plan how to hide them quickly?
Who decided to play the slow-mo replay, followed by the super slo-mo replay?
I&#8217;m using some hebrew font for the numbers in this [...]]]></description>
			<content:encoded><![CDATA[<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/RRabuEv9m-o&#038;color1=291787617&#038;color2=325161297&#038;hl=en&#038;fs=1"></param><param name="wmode" value="transparent"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/RRabuEv9m-o&#038;color1=291787617&#038;color2=325161297&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" wmode="transparent" width="425" height="344"></embed></object></p>
<p>Three comments:</p>
<ol>
<li style="list-style:hebrew">Why did they have a team of people ready to run out with visual shields to block the stage?  Are horrifying injuries so expected that they plan how to hide them quickly?</li>
<li style="list-style:hebrew">Who decided to play the slow-mo replay, followed by the super slo-mo replay?</li>
<li style="list-style:hebrew">I&#8217;m using some hebrew font for the numbers in this list.  Isn&#8217;t that neat?</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.tplus1.com/index.php/2008/08/13/olympic-mishap/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

