-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
50 lines (43 loc) · 1.45 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
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_sdk', '__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.')
with open('README.md') as f:
long_description = f.read()
setup(
name='intezer_sdk',
version=version,
packages=['intezer_sdk'],
url='https://github.com/intezer/analyze-python-sdk',
license='Apache 2.0',
author='Intezer Labs ltd.',
author_email='[email protected]',
description='Intezer Analyze SDK',
long_description=long_description,
long_description_content_type='text/markdown',
install_requires=[
'requests >= 2.29.0,<3',
],
keywords='intezer',
tests_requires=[
'responses == 0.25.0',
'pytest == 8.0.1'
],
python_requires='!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,!=3.7.*',
classifiers=[
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12']
)