Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: c7a498f23d
Fetching contributors…

Cannot retrieve contributors at this time

54 lines (46 sloc) 1.759 kb
import os, sys
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
def main():
setup(
name = "Garmr",
version = "0.3",
author = "David Burns, Yvan Boily",
author_email = "dburns at mozilladotcom",
description='A tool for testing a web application for basic security holes',
url = "https://github.com/AutomatedTester/Garmr",
packages=['Garmr'],
long_description=read('README.md'),
entry_points = make_entry_points(),
classifiers=['Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Mozilla Public License 1.1 (MPL 1.1)',
'Operating System :: POSIX',
'Operating System :: Microsoft :: Windows',
'Operating System :: MacOS :: MacOS X',
'Topic :: Software Development :: Testing',
'Topic :: Software Development :: Libraries',
'Programming Language :: Python'],
install_requires= ['requests>=0.6.2']
)
def cmdline_entrypoints(versioninfo, platform, basename):
target = 'Garmr.garmr:main'
if platform.startswith('java'):
points = {'garmr': target}
else:
if basename.startswith("pypy"):
points = {'garmr-%s' % basename: target}
else: # cpython
points = {'garmr-%s.%s' % versioninfo[:2] : target,}
points['garmr'] = target
return points
def make_entry_points():
basename = os.path.basename(sys.executable)
points = cmdline_entrypoints(sys.version_info, sys.platform, basename)
keys = list(points.keys())
keys.sort()
l = ["%s = %s" % (x, points[x]) for x in keys]
return {'console_scripts': l}
if __name__ == '__main__':
main()
Jump to Line
Something went wrong with that request. Please try again.