| 1 | |
| 2 | |
| 3 | @@ -1,15 +1,8 @@
|
| 4 | -#!/usr/bin/env python
|
| 5 | +#!/usr/bin/python3
|
| 6 |
|
| 7 | from distutils.core import setup
|
| 8 | from distutils.command import install as distutils_install
|
| 9 | from iotop.version import VERSION
|
| 10 | -
|
| 11 | -# Dirty hack to make setup.py install the iotop script to sbin/ instead of bin/
|
| 12 | -# while still honoring the choice of installing into local/ or not.
|
| 13 | -if hasattr(distutils_install, 'INSTALL_SCHEMES'):
|
| 14 | - for d in distutils_install.INSTALL_SCHEMES.itervalues():
|
| 15 | - if d.get('scripts', '').endswith('/bin'):
|
| 16 | - d['scripts'] = d['scripts'][:-len('/bin')] + '/sbin'
|
| 17 |
|
| 18 | setup(name='iotop',
|
| 19 | version=VERSION,
|