• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

cpmpercussion / impsy / 26319808335

23 May 2026 01:28AM UTC coverage: 83.545% (-0.07%) from 83.619%
26319808335

push

github

web-flow
Expose impsy as a console script and read version from package metadata (#84)

Adds [project.scripts] impsy = "impsy.impsy:main" so `pip install impsy`
puts an `impsy` executable on PATH. start_impsy.py keeps working for
source-tree users; both routes call the same main().

Switches get_version() and get_software_info() in web_interface.py to
read from importlib.metadata instead of opening pyproject.toml from CWD.
The old approach only worked when running from the source tree — a
pip user's CWD won't have a pyproject.toml, and the webui's version
display was silently empty as a result.

Closes #80.

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>

11 of 14 new or added lines in 1 file covered. (78.57%)

1 existing line in 1 file now uncovered.

1513 of 1811 relevant lines covered (83.55%)

2.5 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

71.17
/impsy/web_interface.py


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc