[build-system] requires = ["setuptools>=68"] build-backend = "setuptools.build_meta" [project] name = "atlas-extractor" version = "0.1.0" description = "Atlas / 总助 Claw email extraction pipeline (Stages 1-3 of mcp-tools/email-extractor.md spec)" requires-python = ">=3.10" dependencies = [ "imap-tools>=1.5.0", # Stage 1: IMAP fetcher "readability-lxml>=0.8.1", # Stage 2: HTML → text "lxml>=5.0.0", # readability dep "html2text>=2024.2.26", # Stage 2 fallback "chardet>=5.2.0", # Stage 2: charset sniff "mail-parser>=3.15.0; python_version<'3.13'", # MIME helper (optional) "click>=8.1.0", # CLI ] [project.optional-dependencies] test = ["pytest>=8.0", "pytest-cov>=5.0"] [project.scripts] atlas-extract = "atlas_extractor.cli:main" [tool.setuptools.packages.find] where = ["."] include = ["atlas_extractor*"] [tool.pytest.ini_options] testpaths = ["tests"]