distutils - Is is possible to install without the .py extensions
Jari Aalto
jari.aalto at cante.net
Fri Mar 7 19:49:56 EST 2008
* Fri 2008-03-07 Robert Kern <robert.kern at gmail.com> gmane.comp.python.general
* Message-Id: fqsf3a$4lv$1 at 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
Jari
--
Welcome to FOSS revolution: we fix and modify until it shines
More information about the Python-list
mailing list