forked from peo3/cgroup-utils
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
executable file
·51 lines (46 loc) · 1.65 KB
/
setup.py
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/usr/bin/python
from setuptools import setup, Extension
from cgutils.version import VERSION
mod_linux = Extension('linux', sources=['cgutils/linux.c'])
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Operating System :: POSIX :: Linux',
'Programming Language :: C',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3 :: Only',
'Topic :: System :: Operating System Kernels :: Linux',
'Topic :: System :: Systems Administration',
'Topic :: Utilities',
]
long_description = open('README').read() + '\n' + open('Changelog').read()
setup(name='cgroup-utils',
version=VERSION,
description='Utility tools for control groups of Linux',
long_description=long_description,
scripts=['bin/cgutil'],
packages=['cgutils', 'cgutils.commands'],
ext_package='cgutils',
ext_modules=[mod_linux],
author='peo3',
author_email='[email protected]',
url='https://github.com/peo3/cgroup-utils',
license='GPLv2',
classifiers=classifiers,
install_requires=['argparse'],
tests_require=['nose', 'pep8'],
test_suite='nose.collector',
extras_require=dict(
test=[
'nose',
'pep8',
]
),)