<br><br><div class="gmail_quote">On Sun, May 4, 2008 at 9:13 PM, Phillip J. Eby &lt;<a href="mailto:pje@telecommunity.com">pje@telecommunity.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
At 08:56 PM 5/4/2008 +0300, natan yellin wrote:<div class="Ih2E3d"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
On Sun, May 4, 2008 at 8:51 PM, Phillip J. Eby &lt;&lt;mailto:<a href="mailto:pje@telecommunity.com" target="_blank">pje@telecommunity.com</a>&gt;<a href="mailto:pje@telecommunity.com" target="_blank">pje@telecommunity.com</a>&gt; wrote:<br>

At 11:04 AM 5/4/2008 +0300, natan yellin wrote:<br>
Hello,<br>
I&#39;m relatively new to python, and I have a few questions related to distutils.<br>
<br>
1) If I attempt to install script files without a .py extension, distutils installs them twice- once with a .py extension and once without. Is there a way to work around that?<br>
<br>
<br>
I&#39;ve never seen the behavior you&#39;re describing. &nbsp;You should probably post your setup.py for us to see what you&#39;re doing.<br>
<br>
I&#39;ve attached it.<br>
</blockquote>
<br></div>
By &quot;post&quot;, I mean posting it to the distutils-sig. &nbsp;I don&#39;t do private tech support - especially not for the distutils.</blockquote><div><br>Sorry. I forgot to change the address. <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d"><br>
<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
2) Is there a way to change the default install prefix from /usr to /usr/local?<br>
<br>
<br>
You can change that systemwide by creating the appropriate config file. &nbsp;Please see the configuration file section of the &quot;Installing Python Modules&quot; manual.<br>
<br>
Is there any way to change it within the script? It makes more sense to install my particular app into /usr/local than /usr.<br>
</blockquote>
<br></div>
It can be changed in lots of places, including the script or setup.cfg. &nbsp;Please see the manual.<br>
<br>
</blockquote></div><br>