Use setup.py post-install hook for Playwright Chromium installation

- Remove runtime subprocess install (FastMCP Cloud doesn't allow disk writes)
- Add setup.py with cmdclass hooks to install Chromium at build time
- Rename requirements.txt so FastMCP Cloud uses pyproject.toml instead
This commit is contained in:
saidsurucu
2025-12-04 13:34:10 +03:00
parent b207b16ef7
commit d51f11c7ba
3 changed files with 47 additions and 25 deletions
+11
View File
@@ -0,0 +1,11 @@
fastmcp
httpx
beautifulsoup4
markitdown[pdf]
pydantic
aiohttp
playwright
pypdf
fastapi>=0.115.14
uvicorn[standard]>=0.30.0
starlette>=0.37.0