forked from vortexau/dnsvalidator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
32 lines (28 loc) · 1.11 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
""" __Doc__ File handle class """
from setuptools import find_packages, setup
from dnsvalidator.lib.core.__version__ import __version__
def dependencies(imported_file):
""" __Doc__ Handles dependencies """
with open(imported_file) as file:
return file.read().splitlines()
with open("README.md") as file:
setup(
name="DNSValidator",
license="GPLv3",
description="Maintains a list of DNS servers useful for brute forcing.",
long_description=file.read(),
author="vortexau and codingo",
version=__version__,
author_email="",
url="https://github.com/vortexau/dnsvalidator",
packages=find_packages(exclude=('tests')),
package_data={'dnsvalidator': ['*.txt']},
entry_points={
'console_scripts': [
'dnsvalidator = dnsvalidator.dnsvalidator:main'
]
},
install_requires=dependencies('requirements.txt'),
setup_requires=['pytest-runner'],
tests_require=dependencies('test-requirements.txt'),
include_package_data=True)