mirror of
https://github.com/clearlinux/kernel-config-checker.git
synced 2026-04-28 19:13:36 +00:00
50 lines
1.3 KiB
Python
50 lines
1.3 KiB
Python
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',
|
|
],
|
|
},
|
|
)
|