-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.py
56 lines (49 loc) · 1.52 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
50
51
52
53
54
55
56
import sys
import os
import re
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'dnsknife/__init__.py')) as v_file:
version = re.compile(r".*__version__ = '(.*?)'",
re.S).match(v_file.read()).group(1)
requires = [
'requests',
'pycryptodome',
'ecdsa',
'six'
]
requires.append('dnspython>=1.16.0')
# commit 9f1c3988b64d4d95868825ecc48b00c1474bbf37 in PySocks
# introduced udp support. First available version is 1.5.6
pysocks = 'PySocks>=1.5.6'
extras_require = {
'test': ['mock', pysocks],
'socks': [pysocks]
}
tests_requires = requires + extras_require['test']
setup(
name="dnsknife",
version=version,
packages=find_packages(),
description="DNS tools",
url="https://github.com/gandi/dnsknife",
author="Gandi",
author_email="[email protected]",
license="GPLv3",
classifiers=[
'Development Status :: 3 - Alpha',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Internet :: Name Service (DNS)',
'Intended Audience :: Developers',
],
install_requires=requires,
tests_require=tests_requires,
test_suite='dnsknife.tests',
extras_require=extras_require,
keywords='dns lookup dnssec tpda rdap',
)