File size: 2,150 Bytes
24a7f55
 
 
 
 
 
4a0ad64
24a7f55
4a0ad64
24a7f55
 
 
e8e48c8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4a0ad64
24a7f55
 
f3e3305
4a0ad64
 
f3e3305
24a7f55
 
f3e3305
4a0ad64
 
 
 
f3e3305
4a0ad64
 
e8e48c8
4a0ad64
 
 
24a7f55
4a0ad64
 
24a7f55
 
4a0ad64
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24a7f55
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
#!/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',
    },
)