| 1 |
#!/usr/bin/env python |
| 2 |
|
| 3 |
import glob |
| 4 |
from distutils.core import setup |
| 5 |
|
| 6 |
from cpuset.version import version |
| 7 |
|
| 8 |
setup(name = 'cpuset', |
| 9 |
version = version, |
| 10 |
license = 'GPLv2', |
| 11 |
author = 'Alex Tsariounov', |
| 12 |
author_email = '[email protected]', |
| 13 |
maintainer = 'Michal Koutny', |
| 14 |
maintainer_email = '[email protected]', |
| 15 |
url = 'https://github.com/SUSE/cpuset', |
| 16 |
description = 'Allows manipulation of cpusets and provides higher level functions.', |
| 17 |
long_description = \ |
| 18 |
'Cpuset is a Python application to make using the cpusets facilities in the Linux\n' |
| 19 |
'kernel easier. The actual included command is called cset and it allows\n' |
| 20 |
'manipulation of cpusets on the system and provides higher level functions such as\n' |
| 21 |
'implementation and control of a basic cpu shielding setup.', |
| 22 |
classifiers=[ |
| 23 |
'Development Status :: 5 - Production/Stable', |
| 24 |
'Environment :: Console', |
| 25 |
'Intended Audience :: System Administrators', |
| 26 |
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)', |
| 27 |
'Operating System :: POSIX :: Linux', |
| 28 |
'Programming Language :: Python :: 3', |
| 29 |
'Topic :: System :: Systems Administration', |
| 30 |
], |
| 31 |
scripts = ['cset'], |
| 32 |
packages = ['cpuset', 'cpuset.commands'], |
| 33 |
data_files = [ |
| 34 |
('share/doc/packages/cpuset', ['README', 'COPYING', 'AUTHORS', 'NEWS', 'INSTALL']), |
| 35 |
('share/doc/packages/cpuset', glob.glob('doc/*.html')), |
| 36 |
('share/doc/packages/cpuset', glob.glob('doc/*.txt')), |
| 37 |
] |
| 38 |
) |