Spaces:
Sleeping
Sleeping
| #!/usr/bin/env python3 | |
| """ | |
| Setup script for the Enhanced AI Agentic Browser Agent package. | |
| """ | |
| from setuptools import setup, find_packages | |
| import os | |
| # Get the base directory | |
| base_dir = os.path.abspath(os.path.dirname(__file__)) | |
| # Read requirements | |
| with open(os.path.join(base_dir, 'requirements.txt')) as f: | |
| requirements = [line.strip() for line in f if line.strip() and not line.startswith('#')] | |
| # Read README | |
| with open(os.path.join(base_dir, 'README.md'), 'r', encoding='utf-8') as f: | |
| long_description = f.read() | |
| setup( | |
| name="agentic-browser", | |
| version="0.1.0", | |
| description="An agentic browser with local AI capabilities", | |
| long_description=long_description, | |
| long_description_content_type="text/markdown", | |
| author="AI Automation Team", | |
| author_email="anu151105@example.com", | |
| url="https://huggingface.co/spaces/anu151105/agentic-browser", | |
| # Package configuration | |
| packages=find_packages(where='src'), | |
| package_dir={'': 'src'}, | |
| include_package_data=True, | |
| package_data={ | |
| '': ['*.json', '*.yaml', '*.txt', '*.md'], | |
| }, | |
| # Dependencies | |
| install_requires=requirements, | |
| python_requires=">=3.10, <3.11", | |
| # 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', | |
| }, | |
| ) | |