1#!/usr/bin/env python
2
3# This is the setup.py script for "flawfinder" by David A. Wheeler.
4# My thanks to Jon Nelson, who created the initial setup.py script.
5
6# Template for creating your own setup.py.  See the USAGE file in
7# the Distutils source distribution for descriptions of all the
8# options shown below.  Brief instructions on what to do:
9#   - set the other metadata: version, description, author, author_email
10#     and url.  All of these except 'description' are required, although
11#     you may supply 'maintainer' and 'maintainer_email' in place of (or in
12#     addition to) 'author' and 'author_email' as appropriate.
13#   - fill in or delete the 'packages', 'package_dir', 'py_modules',
14#     and 'ext_modules' options as appropriate -- see USAGE for details
15#   - delete this comment and change '__revision__' to whatever is
16#     appropriate for your revision control system of choice (just make
17#     sure it stores the revision number for your distribution's setup.py
18#     script, *not* the examples/template_setup.py file from Distutils!)
19
20
21"""Setup script for the flawfinder tool."""
22
23from distutils.core import setup
24import commands
25
26setup (# Distribution meta-data
27       name = "flawfinder",
28       version = "1.31",
29       description = "a program that examines source code looking for security weaknesses",
30       author = "David A. Wheeler",
31       author_email = "dwheeler@dwheeler.com",
32       license = 'GPL',
33       long_description = """Flawfinder is a program that can scan
34C/C++ source code and identify out potential security flaws,
35ranking them by likely severity.
36It is released under the GNU GPL license.""",
37       url = "http://www.dwheeler.com/flawfinder/",
38       scripts = [ 'flawfinder' ],
39       data_files = [ ('share/man/man1', [ 'flawfinder.1.gz' ]) ],
40       py_modules = [ ],
41      )
42