-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
49 lines (43 loc) · 1.36 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
from setuptools import setup
import os
BASE_VERSION_NUMBER = "0.0"
def get_ver_from_env():
if 'CI_JOB_ID' in os.environ:
return ".dev-" + os.environ['CI_JOB_ID']
return '.03'
if os.environ.get('CI_COMMIT_TAG'):
version = os.environ['CI_COMMIT_TAG']
else:
version = BASE_VERSION_NUMBER + get_ver_from_env()
setup(
version=version,
name='perceptor_client_lib', # How you named your package folder (MyLib)
license='LICENSE.TXT',
description='Python Client for TamedAI Api',
author='TamedAI GmbH', # Type in your name
author_email='[email protected]',
url='https://www.tamed.ai/',
keywords=['TamedAI', 'IDP', 'Perceptor', 'LLM'],
install_requires=[ # I get to this in a second
'annotated-types==0.5.0',
'certifi==2023.7.22',
'charset-normalizer==3.2.0',
'idna==3.4',
'pdf2image==1.16.3',
'Pillow==10.0.1',
'pydantic==2.3.0',
'pydantic_core==2.6.3',
'requests==2.31.0',
'six==1.16.0',
'sseclient-py==1.8.0',
'typing_extensions==4.8.0',
'urllib3==2.0.5'
],
classifiers=[
"Programming Language :: Python :: 3.9",
"Operating System :: OS Independent"
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: Apache',
]
)