Update setup.py for PyPI

Signed-off-by: David A. Wheeler <dwheeler@dwheeler.com>
This commit is contained in:
David A. Wheeler 2017-08-13 17:45:32 -04:00
parent 0a1761b10b
commit 596b63164f
4 changed files with 26 additions and 1 deletions

View File

@ -1,4 +1,9 @@
2017-08-13 David A. Wheeler <dwheeler, at, dwheeler.com>
* 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 <dwheeler, at, dwheeler.com> 2017-07-29 David A. Wheeler <dwheeler, at, dwheeler.com>
* Version 2.0.0
* Change version numbers to use Semantic Versioning (x.y.z) * Change version numbers to use Semantic Versioning (x.y.z)
* Add support for generating CSV (comma-separated value) format, * Add support for generating CSV (comma-separated value) format,
to make this tool easier to integrate into larger toolsuites. to make this tool easier to integrate into larger toolsuites.

View File

@ -10,7 +10,7 @@
# Eventually switch to using DistUtils to autogenerate. # Eventually switch to using DistUtils to autogenerate.
NAME=flawfinder NAME=flawfinder
VERSION=2.0.0 VERSION=2.0.1
RPM_VERSION=1 RPM_VERSION=1
VERSIONEDNAME=$(NAME)-$(VERSION) VERSIONEDNAME=$(NAME)-$(VERSION)
ARCH=noarch ARCH=noarch

View File

@ -1,3 +1,6 @@
[metadata]
description-file = README
[bdist_rpm] [bdist_rpm]
release = 1 release = 1
doc_files = ChangeLog doc_files = ChangeLog

View File

@ -25,6 +25,7 @@ import commands
setup (# Distribution meta-data setup (# Distribution meta-data
name = "flawfinder", name = "flawfinder",
packages = ["flawfinder"], # Must be same as name
version = "2.0.0", version = "2.0.0",
description = "a program that examines source code looking for security weaknesses", description = "a program that examines source code looking for security weaknesses",
author = "David A. Wheeler", author = "David A. Wheeler",
@ -35,6 +36,22 @@ C/C++ source code and identify out potential security flaws,
ranking them by likely severity. ranking them by likely severity.
It is released under the GNU GPL license.""", It is released under the GNU GPL license.""",
url = "http://www.dwheeler.com/flawfinder/", 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' ], scripts = [ 'flawfinder' ],
data_files = [ ('share/man/man1', [ 'flawfinder.1.gz' ]) ], data_files = [ ('share/man/man1', [ 'flawfinder.1.gz' ]) ],
py_modules = [ ], py_modules = [ ],