[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.python

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

Jari Aalto

3/7/2008 9:47:00 PM


Given following setup.py stanza:

#!/usr/bin/python

from distutils.core import setup
import glob

setup(name='program',
description='',
keywords='',
version='',
url='',
download_url='',
license='',
author='',
author_email='',
long_description="""
""",
scripts = ['program,py'],
packages = ['''],
)

Is there any way to fix the installation (postinstall or something), so
that the the result is:

/usr/bin/program

instead of:

/usr/bin/program.py

Jari

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