| 1 |
|
| 2 |
|
| 3 |
import glob |
| •4 |
from setuptools import setup |
| 5 |
|
| •6 |
VERSION = "1.6.2" |
| 7 |
|
| •8 |
setup(name='cpuset', |
| 9 |
version=VERSION, |
| 10 |
license='GPL-2.0-only', |
| 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 |
'Operating System :: POSIX :: Linux', |
| 27 |
'Programming Language :: Python :: 3', |
| 28 |
'Topic :: System :: Systems Administration', |
| 29 |
], |
| •30 |
python_requires='>=3.6', |
| 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/*.txt')), |
| 36 |
('share/doc/packages/cpuset/html', glob.glob('doc/*.html')), |
| 37 |
] |
| 38 |
) |