-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
70 lines (59 loc) · 2.58 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
# This file is part of RADAR.
# Copyright (C) 2019 Cole Daubenspeck
#
# RADAR 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.
#
# RADAR 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 RADAR. If not, see <https://www.gnu.org/licenses/>.
import setuptools
#===============================================================================
# Read detailed info from files where relevant to better build egg
#===============================================================================
with open("README.md", "r", encoding="utf-8") as readme_fh:
long_description = readme_fh.read()
with open("requirements.txt", "r", encoding="utf-8") as requirements_fh:
required_packages = requirements_fh.read().splitlines()
#===============================================================================
# List of executable scripts to install so they are in $PATH
#===============================================================================
scripts = [
"scripts/radar.py",
"scripts/radar-ctl.py",
"scripts/radar-uplink.py",
"scripts/radar-server.py"
]
#===============================================================================
# Build egg below
#===============================================================================
setuptools.setup(
name="cyber-radar",
version="0.3.5",
author="Cole Daubenspeck",
author_email="coleipod@gmail.com",
description="A framework to support a Red-team Analysis, Documentation, and Automation Revolution!",
long_description=long_description,
long_description_content_type="text/markdown",
license="GPLv3",
url="https://github.com/sevaarcen/RADAR",
packages=setuptools.find_packages(),
scripts=scripts,
include_package_data=True,
# tags and stuff for project
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"Development Status :: 4 - Beta",
],
# gotta have 3.6+ for the f-strings :)
python_requires='>=3.6',
# other things required for this to be installed correctly
install_requires=required_packages
)