setup.py 1.12 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
#!/usr/bin/env python

from distutils.core import setup
try:
    from DistUtilsExtra.command import *
except ImportError:
    import sys
    print >> sys.stderr, 'To build Screenkey you need install python-distutils-extra\n' \
                         'https://launchpad.net/python-distutils-extra'
    sys.exit(1)

setup(
    name = 'screenkey',
    version = '0.2',
    packages = ['Screenkey'],
    package_dir = {'Screenkey': 'Screenkey'},
    data_files = [('/usr/share/applications', ['data/screenkey.desktop'])],
    scripts=['screenkey'],
    author='Pablo Seminario',
    author_email='pabluk@gmail.com',
    platforms=['POSIX'],
    license='GPLv3',
    keywords='screencast keyboard keys',
    url='http://launchpad.net/screenkey',
    download_url='http://launchpad.net/screenkey/+download',
    description='A screencast tool to display keys',
    long_description="""
    Screenkey is a useful tool for presentations or screencasts.
    Inspired by ScreenFlick and initially based on the key-mon project code.
    """,
    cmdclass = {
        "build" : build_extra.build_extra,
        "build_i18n" : build_i18n.build_i18n,
    }
)