github adanowitz/HASSL v0.2.1
HASSL v0.2.1 — PyPI packaging and import fixes

latest releases: v0.3.2, v0.3.1, v0.3.0...
one month ago

HASSL v0.2.1 — PyPI packaging and import fixes

A small but important maintenance release to ensure HASSL installs and runs cleanly from PyPI.


🧰 Fixes & Improvements

📦 PyPI Packaging

  • Fixed missing hassl.lark grammar file in wheels and source distributions.
  • Added package-data and MANIFEST.in entries so .lark files are always included in builds.
  • Verified importlib.resources correctly loads grammars both from editable installs and built packages.

🐍 Import & CLI Fixes

  • Updated cli.py to construct Lark using importlib.resources (no filesystem dependency).
  • Ensured all modules use relative imports for internal packages.
  • Fixed edge case where grammar wasn’t found when installed globally via pip.

🧹 Packaging Hygiene

  • Added pyproject.toml [tool.setuptools.package-data] entry:
    [tool.setuptools.package-data]
    "hassl" = ["**/*.lark"]
    
  • Added fallback in MANIFEST.in
    recursive-include hassl *.lark
    -Cleaned up duplicate egg-info and rebuild process for TestPyPI.

Don't miss a new HASSL release

NewReleases is sending notifications on new releases.