With Phillips's help I figured out the problem:<br>
<b><span style="font-weight: bold;"><br>
</span></b>
<div style="margin-left: 40px;"><span style="font-family: courier new,monospace;">scott@scott:~/scott/python/wxoptparse$ runWx</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Traceback (most recent call last):</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp; File &quot;/usr/bin/runWx&quot;, line 4, in ?</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; pkg_resources.run_script('wxOptParse==0.1.2', 'runWx')</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp; File &quot;/usr/lib/python2.4/site-packages/setuptools-0.6a1c2-py2.4.egg/pkg_resources.py&quot;, line 407, in run_script</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; self.require(requires)[0].run_script(script_name, ns)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">&nbsp; File &quot;/usr/lib/python2.4/site-packages/setuptools-0.6a1c2-py2.4.egg/pkg_resources.py&quot;, line 914, in run_script</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; raise ResolutionError(&quot;No script named %r&quot; % script_name)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">pkg_resources.ResolutionError: No script named 'runWx'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">scott@scott:~/scott/python/wxoptparse$ cd ..</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">scott@scott:~/scott/python$ runWx</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">usage: wxoptparse.py &lt;programtorun&gt;</span><br>
<b><span style="font-weight: bold;"></span></b></div>
<b><span style="font-weight: bold;"><br>
</span></b>Basically, I was testing within my source directory and it
was getting confused when it saw a folder called wxoptparse.&nbsp; The
error was not very helpful in this case.<br>
<b><span style="font-weight: bold;"></span><br>
</b><b><a href="mailto:distutils-sig@python.org">distutils-sig@python.org</a></b><br><div><span class="gmail_quote">On 9/9/05, <b class="gmail_sendername">Phillip J. Eby</b> &lt;<a href="mailto:pje@telecommunity.com">pje@telecommunity.com
</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">At 01:11 PM 9/9/2005 -0300, Scott Kirkwood wrote:<br>&gt;Sorry I forgot to add the script to subversion, that's not the problem.
<br>&gt;<br>&gt;I've updated subversion now, so the scripts directory should be OK.<br><br>Here's what I did.&nbsp;&nbsp;I'm running on cygwin, not Linux, but it seems like it<br>should be similar.&nbsp;&nbsp;In any case, I'm not getting the problem.&nbsp;&nbsp;I wonder if
<br>perhaps you have a PYTHONPATH set up that is somehow finding the wrong<br>version of your egg?&nbsp;&nbsp;(i.e., a version that doesn't have the script).&nbsp;&nbsp;Just<br>a thought.<br><br>pje@pje-2 ~/projects/wxoptparse<br>$ svn up<br>
A&nbsp;&nbsp;scripts/runWx<br>Updated to revision 7.<br><br>pje@pje-2 ~/projects/wxoptparse<br>$ python setup.py install<br>running install<br>running bdist_egg<br>running egg_info<br>writing ./wxOptParse.egg-info/PKG-INFO<br>writing top-level names to ./wxOptParse.egg-info/top_level.txt
<br>installing library code to build/bdist.cygwin-1.5.12-i686/egg<br>running install_lib<br>running build_py<br>installing scripts to build/bdist.cygwin-1.5.12-i686/egg/EGG-INFO/scripts<br>running install_scripts<br>running build_scripts
<br>copying scripts/runWx -&gt; build/scripts-2.3<br>creating build/bdist.cygwin-1.5.12-i686/egg/EGG-INFO/scripts<br>copying build/scripts-2.3/runWx -&gt;<br>build/bdist.cygwin-1.5.12-i686/egg/EGG-INFO/s<br>cripts<br>changing mode of build/bdist.cygwin-
1.5.12-i686/egg/EGG-INFO/scripts/runWx<br>to 77<br>7<br>copying ./wxOptParse.egg-info/PKG-INFO -&gt;<br>build/bdist.cygwin-1.5.12-i686/egg/EGG<br>-INFO<br>copying ./wxOptParse.egg-info/top_level.txt -&gt;<br>build/bdist.cygwin-
1.5.12-i686/eg<br>g/EGG-INFO<br>creating dist<br>creating 'dist/wxOptParse-0.1.2-py2.3.egg' and adding<br>'build/bdist.cygwin-1.5.12<br>-i686/egg' to it<br>removing 'build/bdist.cygwin-1.5.12-i686/egg' (and everything under it)
<br>Processing wxOptParse-0.1.2-py2.3.egg<br>Copying wxOptParse-0.1.2-py2.3.egg to /usr/lib/python2.3/site-packages<br>Adding wxOptParse 0.1.2 to easy-install.pth file<br>Installing runWx script to /usr/bin<br><br>Installed /usr/lib/python2.3/site-packages/wxOptParse-
0.1.2-py2.3.egg<br>Processing dependencies for wxOptParse==0.1.2<br><br>pje@pje-2 ~/projects/wxoptparse<br>$ runWx<br>Traceback (most recent call last):<br>&nbsp;&nbsp; File &quot;/usr/bin/runWx&quot;, line 4, in ?<br>&nbsp;&nbsp;&nbsp;&nbsp; pkg_resources.run_script('wxOptParse==
0.1.2', 'runWx')<br>&nbsp;&nbsp; File &quot;/home/pje/setuptools/pkg_resources.py&quot;, line 407, in run_script<br>&nbsp;&nbsp;&nbsp;&nbsp; self.require(requires)[0].run_script(script_name, ns)<br>&nbsp;&nbsp; File &quot;/home/pje/setuptools/pkg_resources.py&quot;, line 927, in run_script
<br>&nbsp;&nbsp;&nbsp;&nbsp; exec script_code in namespace, namespace<br>&nbsp;&nbsp; File &quot;/usr/bin/runWx&quot;, line 3, in ?<br>&nbsp;&nbsp;&nbsp;&nbsp; import pkg_resources<br>&nbsp;&nbsp; File &quot;build/bdist.cygwin-1.5.12-i686/egg/wxoptparse/__init__.py&quot;, line<br>
5, in ?<br><br>ImportError: No module named elementtree<br><br></blockquote></div><br>