| from setuptools import setup, find_packages | |
| from config import CONFIG | |
| setup( | |
| name=CONFIG["repo_name"], | |
| version=CONFIG["version"], | |
| author=CONFIG["username"], | |
| author_email=CONFIG["author_email"], | |
| description=CONFIG["description"], | |
| long_description=open("README.md").read(), | |
| long_description_content_type="text/markdown", | |
| url=f"https://huggingface.co/{CONFIG['username']}/{CONFIG['repo_name']}", | |
| packages=find_packages(), | |
| classifiers=[ | |
| "Development Status :: 5 - Production/Stable", | |
| "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", | |
| "Topic :: Scientific/Engineering :: Artificial Intelligence", | |
| "Topic :: Internet :: WWW/HTTP :: Dynamic Content", | |
| ], | |
| python_requires=">=3.8", | |
| install_requires=[ | |
| "torch>=2.0.0", | |
| "transformers>=4.30.0", | |
| "pillow>=9.5.0", | |
| "requests>=2.28.0", | |
| "googletrans==4.0.0rc1", | |
| ], | |
| keywords="ai, accessibility, alt-tags, computer-vision, web-development", | |
| ) | |