From 596b63164fe8049d549b708baf7b242ac27ae418 Mon Sep 17 00:00:00 2001 From: "David A. Wheeler" Date: Sun, 13 Aug 2017 17:45:32 -0400 Subject: [PATCH] Update setup.py for PyPI Signed-off-by: David A. Wheeler --- ChangeLog | 5 +++++ makefile | 2 +- setup.cfg | 3 +++ setup.py | 17 +++++++++++++++++ 4 files changed, 26 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5574cff..bc1220c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,9 @@ +2017-08-13 David A. Wheeler + * Version 2.0.1 + * Tranform many internal constructs to work on Python 2 or 3, + with the eventual goal of making it run on either. 2017-07-29 David A. Wheeler + * Version 2.0.0 * Change version numbers to use Semantic Versioning (x.y.z) * Add support for generating CSV (comma-separated value) format, to make this tool easier to integrate into larger toolsuites. diff --git a/makefile b/makefile index a4969d6..239b34e 100644 --- a/makefile +++ b/makefile @@ -10,7 +10,7 @@ # Eventually switch to using DistUtils to autogenerate. NAME=flawfinder -VERSION=2.0.0 +VERSION=2.0.1 RPM_VERSION=1 VERSIONEDNAME=$(NAME)-$(VERSION) ARCH=noarch diff --git a/setup.cfg b/setup.cfg index 46fa967..b2ea384 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,3 +1,6 @@ +[metadata] +description-file = README + [bdist_rpm] release = 1 doc_files = ChangeLog diff --git a/setup.py b/setup.py index 12875f1..4070b5b 100644 --- a/setup.py +++ b/setup.py @@ -25,6 +25,7 @@ import commands setup (# Distribution meta-data name = "flawfinder", + packages = ["flawfinder"], # Must be same as name version = "2.0.0", description = "a program that examines source code looking for security weaknesses", author = "David A. Wheeler", @@ -35,6 +36,22 @@ C/C++ source code and identify out potential security flaws, ranking them by likely severity. It is released under the GNU GPL license.""", url = "http://www.dwheeler.com/flawfinder/", + download_url = "https://sourceforge.net/projects/flawfinder/files/flawfinder-2.0.0.tar.gz/download", + keywords = ['analysis', 'security', 'analyzer'], + classifiers = [ + 'Development Status :: 5 - Production/Stable', + 'Environment :: Console', + 'Intended Audience :: Developers', + 'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)', + 'Natural Language :: English', + 'Programming Language :: Python :: 2.7', + 'Operating System :: OS Independent', + 'Topic :: Security', + 'Topic :: Software Development :: Build Tools', + 'Topic :: Software Development :: Quality Assurance', + 'Topic :: Software Development :: Testing' + ], + python_requires = '~=2.7', scripts = [ 'flawfinder' ], data_files = [ ('share/man/man1', [ 'flawfinder.1.gz' ]) ], py_modules = [ ],