forked from rdegges/brute
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
80 lines (62 loc) · 2.02 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
"""Packaging information."""
from subprocess import call
from sys import exit
from setuptools import Command, setup
from brute import (
__doc__ as description,
__version__ as version,
)
class TestCommand(Command):
description = 'run all tests'
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
"""Run the test suite."""
exit(call(['py.test', '--cov', 'brute']))
setup(
# Basic package information:
name = 'brute',
version = version,
py_modules = ['brute'],
# Packaging options:
zip_safe = False,
include_package_data = True,
# Package dependencies:
install_requires = [],
# Test harness:
cmdclass = {
'test': TestCommand,
},
# Metadata for PyPI:
author = 'Randall Degges',
author_email = '[email protected]',
license = 'UNLICENSE',
url = 'https://github.com/rdegges/brute',
keywords = 'python security bruteforce hash hack',
description = 'Simple brute forcing in Python.',
long_description = description,
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: Public Domain',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: Implementation',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Security',
'Topic :: Security :: Cryptography',
'Topic :: Software Development',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)