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

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to