[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "chuk-mcp-ios"
version = "0.1.6"
description = "iOS Device Control MCP Server - Comprehensive iOS automation and testing"
readme = "README.md"
requires-python = ">=3.11"
authors = [
{name = "Chris Hay", email = "chris@chrishayuk.com"},
]
license = {text = "MIT"}
keywords = ["ios", "simulator", "automation", "testing", "mcp", "device-control"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Testing",
"Topic :: System :: Emulators",
]
dependencies = [
"beautifulsoup4>=4.13.4",
"chuk-mcp-runtime>=0.6.3",
"pillow>=11.2.1",
"pydantic>=2.11.5",
"requests>=2.32.3",
"click>=8.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-cov>=4.0",
"ruff>=0.1.0",
"mypy>=1.0",
]
real-device = [
"fb-idb>=1.1.7",
]
[project.urls]
Homepage = "https://github.com/chrishayuk/chuk-mcp-ios"
Documentation = "https://github.com/chrishayuk/chuk-mcp-ios/blob/main/README.md"
Repository = "https://github.com/chrishayuk/chuk-mcp-ios"
Issues = "https://github.com/chrishayuk/chuk-mcp-ios/issues"
[project.scripts]
# Main entry points - clean command structure
chuk-mcp-ios = "chuk_mcp_ios.main:main"
ios-control = "chuk_mcp_ios.cli.main:main"
ios-mcp = "chuk_mcp_ios.mcp.main:main"
ios-device-control = "chuk_mcp_ios.cli.main:main"
ios-simulator = "chuk_mcp_ios.cli.main:main"
# CRITICAL FIX: Tell setuptools where to find packages in src/ directory
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
include = ["chuk_mcp_ios*"]
exclude = ["tests*"]
# Package data
[tool.setuptools.package-data]
chuk_mcp_ios = ["*.toml", "*.json", "*.md"]
# Development tools configuration
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
ignore = [
"E501", # line too long, handled by ruff format
"B008", # do not perform function calls in argument defaults
]
[tool.ruff.lint.isort]
known-first-party = ["chuk_mcp_ios"]
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
exclude = ["tests/"]
[tool.pytest.ini_options]
minversion = "7.0"
addopts = "-ra -q --strict-markers"
testpaths = ["tests"]
python_files = ["test_*.py", "*_test.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]