1# Copyright © 2019-2020 CZ.NIC, z. s. p. o.
2# SPDX-License-Identifier: GPL-3.0-or-later
3#
4# This file is part of dns-crawler.
5#
6# This program is free software: you can redistribute it and/or modify
7# it under the terms of the GNU General Public License as published by
8# the Free Software Foundation, either version 3 of the License, or
9# (at your option) any later version.
10
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY; without even the implied warranty of
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14# GNU General Public License for more details.
15
16# You should have received a copy of the GNU General Public License
17# along with this program.  If not, see <http://www.gnu.org/licenses/>.
18
19from setuptools import setup
20
21with open("README.md", "r") as fh:
22    long_description = fh.read()
23
24setup(
25    name="dns-crawler",
26    use_scm_version=True,
27    packages=["dns_crawler"],
28    setup_requires=["setuptools_scm"],
29    description="A crawler for getting info about DNS domains and services attached to them.",
30    author="Jiri Helebrant",
31    author_email="jiri.helebrant@nic.cz",
32    url="https://gitlab.labs.nic.cz/adam/dns-crawler",
33    entry_points={
34        "console_scripts": [
35            "dns-crawler-controller=dns_crawler.controller:main",
36            "dns-crawler-workers=dns_crawler.workers:main",
37            "dns-crawler-worker=dns_crawler.worker:main",
38            "dns-crawler=dns_crawler.single:main"
39        ]
40    },
41    install_requires=[
42        "asn1crypto>=1.3.0",
43        "cert_human>=1.0.7",
44        "cryptography>=2.8",
45        "dnspython",
46        "ecdsa>=0.15",
47        "forcediphttpsadapter>=1.0.1",
48        "geoip2>=3.0.0",
49        "hstspreload",
50        "idna>=2.9",
51        "pyaml>=19.12.0",
52        "PyICU>=2.4.3",
53        "pycryptodome>=3.9.7",
54        "pyopenssl>=19.1.0",
55        "redis>=3.4.1",
56        "requests_toolbelt>=0.9.1",
57        "requests>=2.23.0",
58        "rq>=1.2.2",
59    ],
60    keywords=["crawler", "dns", "http", "https"],
61    classifiers=[
62        "Development Status :: 4 - Beta",
63        "Programming Language :: Python",
64        "Programming Language :: Python :: 3",
65        "License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
66        "Operating System :: OS Independent"
67    ],
68    python_requires=">=3.6",
69    long_description=long_description,
70    long_description_content_type="text/markdown"
71)
72