-
Notifications
You must be signed in to change notification settings - Fork 325
/
setup.py
64 lines (55 loc) · 2.32 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
#!/usr/bin/env python2.7
#coding=UTF-8
# Copyright (c) 2016-2018 Angelo Moura
#
# This file is part of the program pythem
#
# pythem is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
# USA
from distutils.cmd import Command
from setuptools import setup
class TestCommand(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def test(self):
import os, sys, subprocess
print ()
tests = os.listdir('pythem/tests')
for file in sorted(tests):
if file.endswith('.py') and file != "full_test.py":
new_test = subprocess.call([sys.executable, 'pythem/tests/'+file])
if new_test != 0:
break
def run(self):
raise SystemExit(self.test())
setup(
name='pythem',
packages=['pythem','pythem/modules','pythem/core'],
version='0.8.2',
description="pentest framework",
author='Angelo Moura',
author_email='[email protected]',
url='https://github.com/m4n3dw0lf/pythem',
download_url='https://github.com/m4n3dw0lf/pythem/archive/0.8.1.tar.gz',
keywords=['pythem', 'pentest', 'framework', 'hacking'],
install_requires=['NetfilterQueue==0.8.1','pyOpenSSL>=16.2.0','decorator>=4.0.10','ecdsa>=0.13','mechanize>=0.2.5','netaddr>=0.7.18','requests>=2.10.0','scapy>=2.3.2','six>=1.10.0','update-checker>=0.11','cffi>=1.7.0','pycparser>=2.14','pyasn1>=0.1.9','paramiko>=2.0.1','capstone>=3.0.4','ropper>=1.10.7','termcolor>=1.1.0','psutil>=4.3.0'],
dependency_links=[
"git+git://[email protected]/kti/[email protected]#egg=NetfilterQueue-0.8.1"
],
cmdclass=dict(test=TestCommand),
scripts=['pythem/pythem'],
)