forked from maurosoria/dirsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·49 lines (43 loc) · 1.53 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
import setuptools
import os
import io
import tempfile
import shutil
current_dir = os.path.abspath(os.path.dirname(__file__))
with io.open(os.path.join(current_dir, "README.md"), encoding="utf-8") as f:
desc = f.read()
env_dir = tempfile.mkdtemp(prefix="dirsearch-install-")
shutil.copytree(os.path.abspath(os.getcwd()),
os.path.join(env_dir, "dirsearch"))
os.chdir(env_dir)
setuptools.setup(
name="dirsearch",
version="0.4.2",
author="Mauro Soria",
author_email="maurosoria@protonmail.com",
description="Advanced web path scanner",
long_description=desc,
long_description_content_type="text/markdown",
url="https://github.com/maurosoria/dirsearch",
packages=setuptools.find_packages(),
entry_points={
"console_scripts": ["dirsearch=dirsearch.dirsearch:Program"]
},
package_data={
"dirsearch": ["*", "db/*"]
},
include_package_data=True,
python_requires=">=3.7",
install_requires=["certifi>=2020.11.8", "chardet>=3.0.2", "urllib3>=1.21.1", "cryptography>=2.8", "PySocks>=1.6.8", "cffi>=1.14.0"],
classifiers=[
"Programming Language :: Python",
"Environment :: Console",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
"Operating System :: OS Independent",
"Topic :: Security",
"Programming Language :: Python :: 3.7"
],
keywords=["infosec", "bug bounty", "pentesting", "security"],
)
shutil.rmtree(env_dir, ignore_errors=True)