Skip to content

CLI

RFlect is primarily GUI- and MCP-driven, but there are a handful of useful command-line entry points.

Launch GUI

python run_rflect.py

Or, after pip install -e .:

rflect

(See [project.scripts] in pyproject.toml.)

Launch MCP server

python rflect-mcp/server.py

Blocks waiting for stdio MCP traffic. Usually launched by your MCP client, not by hand. See MCP installation.

Test suite

.venv/bin/python -m pytest tests/                 # full suite
.venv/bin/python -m pytest tests/test_calculations.py -v
.venv/bin/python -m pytest tests/test_mcp_process_folder.py -v

Build distributable

PyInstaller spec is in the repo:

pyinstaller RFlect.spec

Hidden imports of note (already configured): PIL._tkinter_finder for Pillow logo loading inside the bundled exe.

Windows installer

Inno Setup script installer.iss. Build with:

iscc installer.iss

Or override version inline:

iscc /DRFLECT_VERSION=6.1.0 installer.iss

Version bumping

bump2version patch     # 6.1.0 → 6.1.1
bump2version minor     # 6.1.0 → 6.2.0
bump2version major     # 6.1.0 → 7.0.0

Sources of truth for the version (.bumpversion.cfg):

  • pyproject.toml: version = "..."
  • plot_antenna/__init__.py: __version__ = "..."
  • README.md: version badge
  • installer.iss: RFLECT_VERSION
  • settings.json: CURRENT_VERSION