From: Alexander Popov Date: Thu, 26 Mar 2020 12:15:24 +0000 (+0300) Subject: Enable distribution via pip/setuptools X-Git-Tag: v0.5.7~50 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=18c23c0e80ec6317566a282d29f8fc65ca262f54;p=kconfig-hardened-check.git Enable distribution via pip/setuptools Thanks to @Mic92 for the proof-of-concept Refers to #26 --- diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..aaaad0c --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,3 @@ +include README.md +include LICENSE.txt +recursive-include kconfig_hardened_check * diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..2ac1c3b --- /dev/null +++ b/setup.cfg @@ -0,0 +1,28 @@ +[metadata] +name = kconfig-hardened-check +version = 0.5.5 +author = Alexander Popov +author_email = alex.popov@linux.com +home-page = https://github.com/a13xp0p0v/kconfig-hardened-check +description = A tool for checking the hardening options in the Linux kernel config +long-description = file: README.md +license = GNU General Public License v3 (GPLv3) +license-file = LICENSE.txt +classifiers = + Development Status :: 5 - Production/Stable + License :: OSI Approved :: GNU General Public License v3 (GPLv3) + Topic :: Security + Operating System :: POSIX :: Linux + Environment :: Console + Programming Language :: Python :: 3 + +[options] +zip_safe = true +include_package_data = true +packages = kconfig_hardened_check +setup_requires = setuptools + +[options.entry_points] +console_scripts = + kconfig-hardened-check = kconfig_hardened_check:main + diff --git a/setup.py b/setup.py new file mode 100755 index 0000000..7f317b8 --- /dev/null +++ b/setup.py @@ -0,0 +1,5 @@ +#!/usr/bin/python3 + +from setuptools import setup + +setup()