This repository was archived by the owner on Jan 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathsetup.py
More file actions
49 lines (41 loc) · 1.31 KB
/
setup.py
File metadata and controls
49 lines (41 loc) · 1.31 KB
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
import ast
from io import open
from setuptools import find_packages, setup
with open('kcc/version.py', 'r') as f:
for line in f:
if line.startswith('VERSION'):
version = ast.literal_eval(line.strip().split('=')[-1].strip())
break
with open('README.rst', 'r', encoding='utf-8') as f:
readme = f.read()
setup(
name='kcc',
version=version,
description='Check kernel config for security issues',
long_description=readme,
author='Arjan van de Ven',
author_email='arjan@linux.intel.com',
url='https://github.com/clearlinux/kernel-config-checker',
license='GPL-3.0',
keywords=[
'',
],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
tests_require=['pytest'],
packages=find_packages(),
entry_points={
'console_scripts': [
'kcc = kcc.cli:cli',
],
},
)