[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

Re: distutils - Is is possible to install without the .py extensions

Jari Aalto

3/8/2008 12:50:00 AM

* 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

Jari

--
Welcome to FOSS revolution: we fix and modify until it shines