-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
59 lines (51 loc) · 1.57 KB
/
setup.py
File metadata and controls
59 lines (51 loc) · 1.57 KB
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
import os
from setuptools import setup
def rel(*xs):
return os.path.join(os.path.abspath(os.path.dirname(__file__)), *xs)
with open(rel('intezer_analyze_cli', '__init__.py'), 'r') as f:
version_marker = '__version__ = '
for line in f:
if line.startswith(version_marker):
_, version = line.split(version_marker)
version = version.strip().strip("'")
break
else:
raise RuntimeError('Version marker not found.')
install_requires = [
'click==7.1.2',
'intezer-sdk>=1.25.0,<2',
'yaspin>=3.0.0,<4'
]
tests_require = [
'pytest==9.0.2',
'responses==0.26.0'
]
with open('README.md') as f:
long_description = f.read()
setup(
name='intezer-analyze-cli',
version=version,
description='Client library for Intezer cloud service',
author='Intezer Labs ltd.',
classifiers=[
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: 3.14',
],
keywords='intezer',
packages=['intezer_analyze_cli'],
install_requires=install_requires,
tests_require=tests_require,
entry_points='''
[console_scripts]
intezer-analyze=intezer_analyze_cli.cli:main_cli
intezer-cli=intezer_analyze_cli.cli:main_cli
''',
license='Apache License v2',
long_description=long_description,
long_description_content_type='text/markdown',
python_requires='>=3.10',
zip_safe=False
)