-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
105 lines (92 loc) · 3.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import codecs
import os
import unittest
from setuptools import setup
from cryptoparser import __setup__
this_directory = os.getenv('REQUIREMENTS_DIR', '')
with open(os.path.join(this_directory, 'requirements.txt')) as f:
install_requirements = f.read().splitlines()
this_directory = os.path.abspath(os.path.dirname(__file__))
with codecs.open(os.path.join(this_directory, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
def test_discover():
test_loader = unittest.TestLoader()
test_suite = test_loader.discover('test', pattern='test_*.py')
return test_suite
setup(
name=__setup__.__title__,
version=__setup__.__version__,
description=__setup__.__description__,
long_description=long_description,
long_description_content_type='text/x-rst',
author=__setup__.__author__,
author_email=__setup__.__author_email__,
maintainer=__setup__.__author__,
maintainer_email=__setup__.__author_email__,
license=__setup__.__license__,
license_files=['LICENSE.txt', ],
project_urls={
'Homepage': __setup__.__url__,
'Changelog': 'https://' + __setup__.__technical_name__ + '.readthedocs.io/en/latest/changelog',
'Documentation': 'https://' + __setup__.__technical_name__ + '.readthedocs.io/en/latest/',
'Issues': __setup__.__url__ + '/-/issues',
'Source': __setup__.__url__,
},
keywords='ssl tls gost ja3 ldap rdp ssh hsts dns',
install_requires=install_requirements,
extras_require={
":python_version < '3'": [
"enum34==1.1.6",
"pathlib2==2.3.7.post1",
"Mock",
"unittest2",
],
"test": ["coverage", ],
"pep8": ["flake8", ],
"pylint": ["pylint", ],
},
packages=[
'cryptoparser',
'cryptoparser.common',
'cryptoparser.dnsrec',
'cryptoparser.httpx',
'cryptoparser.ssh',
'cryptoparser.tls',
],
test_suite='setup.test_discover',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Framework :: tox',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Intended Audience :: Science/Research',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)',
'Natural Language :: English',
'Operating System :: MacOS',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Programming Language :: Python',
'Topic :: Internet',
'Topic :: Security',
'Topic :: Security :: Cryptography',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Software Development :: Testing :: Traffic Generation',
'Topic :: Software Development :: Testing',
],
)