Spaces:
Sleeping
Sleeping
| """ | |
| Setup script for Crop Disease Detection AI | |
| """ | |
| from setuptools import setup, find_packages | |
| with open("README.md", "r", encoding="utf-8") as fh: | |
| long_description = fh.read() | |
| with open("requirements.txt", "r", encoding="utf-8") as fh: | |
| requirements = [line.strip() for line in fh if line.strip() and not line.startswith("#")] | |
| setup( | |
| name="crop-disease-detection", | |
| version="1.0.0", | |
| author="SIH2025 Team", | |
| description="AI-powered crop disease detection system with visual explanations", | |
| long_description=long_description, | |
| long_description_content_type="text/markdown", | |
| packages=find_packages(), | |
| classifiers=[ | |
| "Development Status :: 4 - Beta", | |
| "Intended Audience :: Science/Research", | |
| "License :: OSI Approved :: MIT License", | |
| "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 :: Scientific/Engineering :: Image Recognition", | |
| ], | |
| python_requires=">=3.8", | |
| install_requires=requirements, | |
| extras_require={ | |
| "dev": [ | |
| "pytest>=7.0.0", | |
| "black>=22.0.0", | |
| "flake8>=4.0.0", | |
| "jupyter>=1.0.0", | |
| ], | |
| }, | |
| entry_points={ | |
| "console_scripts": [ | |
| "crop-disease-api=api.main:main", | |
| "crop-disease-train=src.train:main", | |
| ], | |
| }, | |
| include_package_data=True, | |
| package_data={ | |
| "": ["*.json", "*.txt", "*.md"], | |
| }, | |
| ) | |