Development Setup¶
Prerequisites¶
- Python 3.11 or higher
- uv (highly recommended)
- Git
- Docker (optional)
- macOS Apple Silicon for Metal native extensions
Initial Setup¶
- Clone from NeoZorK gitserver (private):
git clone /Users/rostsh/git-server/NeoZorK/Monte-Neo.git
cd Monte-Neo
From LAN:
git clone ssh://rost@2014/Users/rost/git-server/NeoZorK/Monte-Neo.git
cd Monte-Neo
- Sync the environment:
uv sync
- Build native extensions (Metal + pybind11, macOS):
uv run bash scripts/build_native.sh
uv run python verify_hardware.py
Development Workflow¶
- Testing:
uv run pytest tests -n auto - Linting:
uv run ruff checkanduv run black . - Pre-commit:
uv run pre-commit install
Remotes (R-REMOTE)¶
origin→/Users/rostsh/git-server/NeoZorK/Monte-Neo.gitlan→ssh://rost@2014/Users/rost/git-server/NeoZorK/Monte-Neo.git(optional)
Push tags with branches: git push origin --all && git push origin --tags