Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
Latest commit
40 lines (38 loc) · 1.16 KB
/
Copy pathsetup.py
File metadata and controls
40 lines (38 loc) · 1.16 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
importre
importast
fromsetuptoolsimportsetup, find_packages
# Dynamically extract the library version from the client.
_version_re=re.compile(r'_VERSION\s*=\s*(.*)')
withopen("src/archetypeai/api_client.py", 'rb') asf:
match=_version_re.search(f.read().decode('utf-8'))
ifmatch:
version=str(ast.literal_eval(match.group(1)))
else:
raiseRuntimeError("Unable to find version string.")
setup(
name="archetypeai",
version=version,
author="Archetype AI",
url="https://github.com/archetypeai/python-client",
description="The official python client for the Archetype AI API.",
packages=find_packages(where="src"),
package_dir={"": "src"},
python_requires=">=3.10",
install_requires=[
"typing-extensions>=4.15.0,<5",
"requests>=2.31.0,<3",
"requests-toolbelt==1.0.0",
"websockets>=12.0,<16",
"websocket-client>=1.8.0,<2",
"kafka-python>=2.3.1,<3",
"httpx>=0.28.1,<0.29",
"httpx-sse>=0.4.3,<0.5",
"pyyaml>=6.0.2,<7",
],
include_package_data=True,
extras_require={
"test": [
"pytest>=9.0.3,<10",
],
},
)