agentic-browser / setup.py
anu151105's picture
Fix package installation and Docker build
e8e48c8
raw
history blame
2.15 kB
#!/usr/bin/env python3
"""
Setup script for the Enhanced AI Agentic Browser Agent package.
"""
from setuptools import setup, find_packages
import os
# Read the README for the long description
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
# Core dependencies that will always be installed
CORE_DEPS = [
'streamlit>=1.32.0',
'fastapi>=0.68.0',
'uvicorn>=0.15.0',
'python-dotenv>=0.19.0',
'numpy>=1.24.0',
'torch>=2.0.0',
'transformers>=4.30.0',
'sentence-transformers>=2.2.2',
'auto-gptq>=0.4.0',
'accelerate>=0.20.0',
'bitsandbytes>=0.41.0',
'optimum>=1.12.0',
'huggingface-hub>=0.16.0',
'playwright>=1.42.0',
'selenium>=4.16.0',
'requests>=2.31.0',
'python-multipart>=0.0.6',
'pydantic>=2.0.0',
'tqdm>=4.65.0',
'nest-asyncio>=1.5.6',
]
setup(
name="agentic-browser",
version="0.1.0",
author="AI Automation Team",
author_email="anu151105@example.com",
description="An autonomous browser agent powered by local AI models",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://huggingface.co/spaces/anu151105/agentic-browser",
# Package configuration
packages=find_packages(where='src'),
package_dir={'': 'src'},
include_package_data=True,
# Dependencies
install_requires=CORE_DEPS,
python_requires='>=3.10',
# Entry points
entry_points={
'console_scripts': [
'agentic-browser=agentic_browser.cli:main',
],
},
# Metadata
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
],
# Additional metadata
keywords='ai browser automation local-models',
project_urls={
'Bug Reports': 'https://huggingface.co/spaces/anu151105/agentic-browser/discussions',
'Source': 'https://huggingface.co/spaces/anu151105/agentic-browser',
},
)