-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
68 lines (60 loc) · 1.89 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
#!/usr/bin/env python3
# encoding: UTF-8
"""
This file is part of Commi3 Vanir Project.
Copyright (c) 2019.
For more see the file 'readme/COPYING' for copying permission.
"""
import re
import os
import ast
from setuptools import setup, find_packages, Extension
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
cversion = re.compile(r'__version__\s+=\s+(.*)')
with open('commi3.py') as f:
version = "1.0.5"
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
setup(
name='Commi3',
version=version,
license='MIT',
author='Chris Pro',
description='Is an Automated Commando Line Tool for pentesting and other fun stuff',
long_description_content_type="text/markdown",
long_description=README,
url="https://github.com/VanirLab/commi3",
#ext_modules=[Extension('commi3',sources=['settings.c'])], #Import your own C/C++ packages
packages=find_packages(),
include_package_data=True,
#packages=setuptools.find_packages(),
zip_safe=False,
scripts=["commi3"],
platforms='any',
install_requires=[
'colorama',
'Jinja2',
'dns-lexicon',
'bs4',
],
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules'
],
entry_points='''
[console_scripts]
commi3=commi3.cli:main
'''
)