"""Setup configuration for email-sorter.""" from setuptools import setup, find_packages from pathlib import Path # Read README readme_file = Path(__file__).parent / "README.md" long_description = readme_file.read_text() if readme_file.exists() else "" setup( name="email-sorter", version="1.0.0", description="Hybrid ML/LLM Email Classification System", long_description=long_description, long_description_content_type="text/markdown", author="Your Name", author_email="your.email@example.com", url="https://github.com/yourusername/email-sorter", license="MIT", packages=find_packages(), include_package_data=True, python_requires=">=3.8", install_requires=[ # Core "python-dotenv>=1.0.0", "pyyaml>=6.0", "pydantic>=2.0.0", # Email Providers "google-api-python-client>=2.100.0", "google-auth-httplib2>=0.1.1", "google-auth-oauthlib>=1.1.0", "msal>=1.24.0", "imapclient>=2.3.1", # Machine Learning "scikit-learn>=1.3.0", "lightgbm>=4.0.0", "pandas>=2.0.0", "numpy>=1.24.0", "sentence-transformers>=2.2.0", # LLM Integration "ollama>=0.1.0", "openai>=1.0.0", # Text Processing "nltk>=3.8", "beautifulsoup4>=4.12.0", "lxml>=4.9.0", # Attachments "PyPDF2>=3.0.0", "python-docx>=0.8.11", "openpyxl>=3.0.10", # CLI & Utilities "click>=8.1.0", "rich>=13.0.0", "tqdm>=4.66.0", "joblib>=1.3.0", "tenacity>=8.2.0", ], extras_require={ "dev": [ "pytest>=7.4.0", "pytest-cov>=4.1.0", "pytest-mock>=3.11.0", "black>=23.0.0", "isort>=5.12.0", "flake8>=6.0.0", ], "gmail": [ "google-api-python-client>=2.100.0", "google-auth-oauthlib>=1.1.0", ], "ollama": [ "ollama>=0.1.0", ], "openai": [ "openai>=1.0.0", ], }, entry_points={ "console_scripts": [ "email-sorter=src.cli:cli", ], }, classifiers=[ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", ], )