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

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jari Aalto

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


    Given following setup.py stanza:

    #!/usr/bin/python

    from distutils.core import setup
    import glob

    setup(name='pro gram',
    description='',
    keywords='',
    version='',
    url='',
    download_url='' ,
    license='',
    author='',
    author_email='' ,
    long_descriptio n="""
    """,
    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

Working...