Jari Aalto wrote:
> * Fri 2008-03-07 Robert Kern <[EMAIL PROTECTED]> gmane.comp.python.general
> * Message-Id: [EMAIL PROTECTED]
>> Jari Aalto wrote:
>>>     #!/usr/bin/python
>>>
>>>     from distutils.core import setup
>>>     import glob
>>>
>>>     setup(name='program',
> ...
>>>           scripts = ['program,py'],
>>>       )
>>> that the the result is:
>>>
>>>     /usr/bin/program
>>>
>>> instead of:
>>>
>>>     /usr/bin/program.py
>> The easiest and best way is to just rename the file in your source tree to 
>> "program" and be done with it.
> 
> Is there any other way? This is the source package that I would like
> to keep intact and just patch the setup.py

Not really, no. Why is it so important to only patch the setup.py file and not 
any others?

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to