GPG sign all released files
[iotop.git] / setup.py
blobcd639ca28fde1904409105a88c61f6f136b73295
1 #!/usr/bin/env python
3 from distutils.core import setup
4 from distutils.command import install as distutils_install
5 from iotop.version import VERSION
7 # Dirty hack to make setup.py install the iotop script to sbin/ instead of bin/
8 # while still honoring the choice of installing into local/ or not.
9 if hasattr(distutils_install, 'INSTALL_SCHEMES'):
10 for d in distutils_install.INSTALL_SCHEMES.itervalues():
11 if d.get('scripts', '').endswith('/bin'):
12 d['scripts'] = d['scripts'][:-len('/bin')] + '/sbin'
14 setup(name='iotop',
15 version=VERSION,
16 description='Per process I/O bandwidth monitor',
17 long_description=
18 '''Iotop is a Python program with a top like UI used to show of behalf of which
19 process is the I/O going on.''',
20 author='Guillaume Chazarain',
21 author_email='guichaz@gmail.com',
22 url='http://guichaz.free.fr/iotop',
23 scripts=['sbin/iotop'],
24 data_files=[('share/man/man8', ['iotop.8'])],
25 packages=['iotop'],
26 license='GPL'