-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
80 lines (77 loc) · 2.59 KB
/
setup.py
File metadata and controls
80 lines (77 loc) · 2.59 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
from setuptools import setup, find_packages
# Read version from __init__.py
def get_version():
with open('clients/python/__init__.py', 'r') as f:
for line in f:
if line.startswith('__version__'):
return line.split('=')[1].strip().strip('"\'')
return '1.0.0'
# Read long description from README
def get_long_description():
with open('clients/python/README.md', 'r') as f:
return f.read()
setup(
name="tam-client",
version=get_version(),
description="Python client library for TAM (Image Metadata) API and MCP Server",
long_description=get_long_description(),
long_description_content_type="text/markdown",
author="TAM Development Team",
author_email="dev@tam.ai",
url="https://github.com/tam-ai/tam-client-python",
packages=find_packages(where="clients/python"),
package_dir={"": "clients/python"},
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"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",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Multimedia :: Graphics",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
],
python_requires=">=3.8",
install_requires=[
"requests>=2.31.0",
"aiohttp>=3.9.0",
"pydantic>=2.5.0",
"typing-extensions>=4.0.0",
],
extras_require={
"dev": [
"pytest>=7.4.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.1.0",
"black>=23.11.0",
"flake8>=6.1.0",
"mypy>=1.7.0",
],
"flask": [
"Flask>=2.3.0",
"werkzeug>=2.3.0",
],
"fastapi": [
"fastapi>=0.104.0",
"uvicorn>=0.24.0",
],
},
keywords="image metadata api client mcp model-context-protocol photos",
project_urls={
"Bug Reports": "https://github.com/tam-ai/tam-client-python/issues",
"Source": "https://github.com/tam-ai/tam-client-python",
"Documentation": "https://tam-client-python.readthedocs.io/",
},
entry_points={
"console_scripts": [
"tam-client=tam_client.cli:main",
],
},
include_package_data=True,
zip_safe=False,
)