Robert Kern
3/8/2008 4:52:00 AM
Jari Aalto wrote:
> * Fri 2008-03-07 Robert Kern <robert.kern@gmail.com> gmane.comp.python.general
> * Message-Id: fqsf3a$4lv$1@ger.gmane.org
>> 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