From 3cfa9426f3574de410c56b9009950d1924508d6f Mon Sep 17 00:00:00 2001 From: Thomas Bouve Date: Sat, 23 Oct 2021 23:45:57 +0200 Subject: [PATCH] Add setup.py, clean long lines, strip python2 code --- setup.py | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 setup.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..20c9153 --- /dev/null +++ b/setup.py @@ -0,0 +1,49 @@ +#!/usr/bin/env python +import os +from setuptools import setup + + +def read(fname: str) -> str: + """Open files relative to package.""" + return open(os.path.join(os.path.dirname(__file__), fname)).read() + + +setup( + name='Sublist3r2', + version='1.0.0', + python_requires='>=3.6', + description='Subdomains enumeration tool for penetration testers', + long_description=read('README.md'), + long_description_content_type='text/markdown', + keywords='subdomain dns detection', + url='https://github.com/RoninNakomoto/Sublist3r2', + license='GPL-2.0', + py_modules=['sublist3r2'], + include_package_data=True, + package_data={ + '': ['data/*.txt'], + }, + classifiers=[ + 'Development Status :: 5 - Production/Stable', + 'Environment :: Console', + 'Intended Audience :: Information Technology', + 'Intended Audience :: System Administrators', + 'Intended Audience :: Telecommunications Industry', + 'License :: OSI Approved :: GNU General Public License v2', + 'Operating System :: POSIX :: Linux', + 'Operating System :: MacOS', + 'Programming Language :: Python :: 3', + 'Topic :: Security', + ], + install_requires=[ + 'argparse', + 'dnspython', + 'requests', + 'aiodnsbrute', + ], + entry_points={ + 'console_scripts': [ + 'sublist3r2 = sublist3r2:interactive', + ], + }, +)