-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
45 lines (40 loc) · 1.63 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
from setuptools import setup, find_packages
import os
def read(rel_path: str) -> str:
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, rel_path)) as fp:
return fp.read()
def get_version(rel_path: str) -> str:
for line in read(rel_path).splitlines():
if line.startswith("__version__"):
delim = '"' if '"' in line else "'"
return line.split(delim)[1]
raise RuntimeError("Unable to find version string.")
with open("README.md", "r", encoding="utf-8") as f:
readme = f.read()
setup(
name='webeye',
version=get_version('webeye/__init__.py'),
long_description=readme,
long_description_content_type="text/markdown",
entry_points={'console_scripts':['webeye=webeye.__main__:main']},
description='A Best Powerful module for making ethical hacking tools easier',
url='https://github.com/Zaeem20/webeye',
author="Zaeem Technical",
author_email='business@zaeemtechnical.ml',
license='MIT',
classifiers=[
"License :: OSI Approved :: MIT License",
"Environment :: Web Environment",
'Intended Audience :: Developers',
'Natural Language :: English',
'Operating System :: OS Independent',
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.6"],
python_requires=">=3.6",
install_requires=['requests >= 2','httpx == 0.20.0', 'mechanize == 0.4.7', 'beautifulsoup4 == 4.10.0'],
keywords="webeye red_hawk nikto webrecon recondog",
packages=find_packages(exclude=["docs","tests"]),
data_files=None
)