from setuptools import setup, find_packages
# Read the requirements from requirements.txt
with open("requirements.txt") as f:
requirements = f.read().splitlines()
setup(
name="ai-hub",
version="0.1.0",
description="An AI Model Hub Service with PostgreSQL and FAISS integration.",
author="Jerry Xie",
author_email="axieyangb@google.com",
packages=find_packages(),
install_requires=requirements,
# This is a key part of the setup. It defines the 'entry point'
# for the application, so you can run it with `uvicorn run:app`.
entry_points={
"console_scripts": [
"ai-hub-server=app.main:app"
],
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.11',
)