httpx was in dev deps only, causing ImportError for users doing `pip install -e .` since atm.commands imports httpx at module level. Moved to main dependencies. Also stubs TelegramPoller and ScreenshotScheduler in the sync catchup test to prevent flaky CI failures from attempted real network connections. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
46 lines
855 B
TOML
46 lines
855 B
TOML
[build-system]
|
|
requires = ["setuptools>=68", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "atm"
|
|
version = "0.1.0"
|
|
description = "M2D Trading Monitor — TradeStation chart watcher, Discord/Telegram notifier"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"numpy>=1.26",
|
|
"opencv-python>=4.9",
|
|
"pillow>=10.0",
|
|
"requests>=2.31",
|
|
"rich>=13.0",
|
|
"httpx>=0.27",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
windows = [
|
|
"mss>=9.0",
|
|
"pygetwindow>=0.0.9",
|
|
"pywin32>=306",
|
|
]
|
|
dev = [
|
|
"pytest>=8.0",
|
|
"pytest-cov>=5.0",
|
|
"pytest-asyncio>=0.23",
|
|
]
|
|
|
|
[project.scripts]
|
|
atm = "atm.main:main"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
pythonpath = ["src"]
|
|
|
|
[tool.pyright]
|
|
include = ["src"]
|
|
extraPaths = ["src"]
|
|
pythonVersion = "3.11"
|
|
reportMissingImports = true
|