<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body>
Christopher Armstrong wrote:<br>
<blockquote type="cite" cite="mid1016417091.11167.9.camel@radii">
  <pre wrap="">On Sun, 2002-03-17 at 20:34, Tyler W. Wilson wrote:<br></pre>
  <blockquote type="cite">
    <pre wrap="">I was trying to get the Twisted IM client running, and have a few <br>comments related to config issues on Win32. Here they are:<br><br>1 running 'python setup.py install' copies the twisted folder to the <br>&lt;python&gt;\lib\site-packages folder, which is okay. but if you change to <br>the Twisted&lt;version&gt; folder and do 'python bin\im', it will be using the <br>sources from the original location, NOT the site-packages location.<br> <br>2 similar to the above, if you set PYTHONPATH to point to <br>Twisted&lt;version&gt; folder, as it says to do in the README, the original <br>twisted files will be used, not those copied to the site-packages folder.<br> <br>so, given 1 &amp; 2, do we really need to do the setup.py? It should be <br>noted in the README(.win32?) that users should either: 1) set PYTHONPATH <br>to Twisted&lt;version&gt; and NOT run setup.py, and include the full path to <br>im, mktap, etc, or 2) do NOT set PYTHONPATH, run setup.py, and st
ill <br>include the fullpath to the bin folder.<br></pre>
  </blockquote>
  <pre wrap=""><!----><br>The README doesn't mention setup.py at all; it only mentions that you<br>should set your PYTHONPATH environment variable.<br></pre>
</blockquote>
True, but two items: 1) I believe it is 'standard procedure' to do a python
setup.py for any new Python modules. And 2) I had asked on the IRC channels
about this, and they said you shoulw run setup.py. So, I think it should
be mentioned either way in the README.<br>
<blockquote type="cite" cite="mid1016417091.11167.9.camel@radii">
  <pre wrap=""><br></pre>
  <blockquote type="cite">
    <pre wrap="">i would also suggest that the files in the bin folder have the .py <br>extension, so that on Windows we can associate them to the python <br>interpreter, which would simplify things.<br></pre>
  </blockquote>
  <pre wrap=""><!----><br>Would it be better to detect if we're on windows and rename all the bin/<br>scripts to foo.py, or maybe include a set of supplementary .bat files<br>that just ran 'python bin/foo.py'? I'll implement this either way. (if<br>we go with the former option, it'll require win32 users to run setup.py,<br>which is probably better any way)<br><br></pre>
</blockquote>
Is there is an issue with just renaming them with a py extension on all platforms?
I mean, they are Python source files. And all the other Twisted Python source
files have .py extensions. I know you use these as scripts on *nix.<br>
<br>
And either way, on Windows you should note in the readme that the system
PATH should include the Twisted bin directory. It doesnt mention this for
Unix either, but I suppose it is needed, isn't it?<br>
<br>
</body>
</html>