Skip to content

v0.1.5

@DrXOps DrXOps tagged this 27 Jul 18:30
Two packaging bugs that made every fresh 'pip install pentool' crash on
a real VPS even after the 0.1.4 optional-Scanner fix:

1. setuptools only bundles .py files by default. All 33 *.tcss (Textual
   CSS) files scattered next to screens/widgets were silently dropped
   from the wheel — confirmed 0 .tcss files in the previously published
   0.1.2 wheel via 'unzip -l'. Every screen crashed with FileNotFoundError
   the moment it tried Path(__file__).parent / 'screen.tcss'. Fixed via
   [tool.setuptools.package-data] pentool = ['*.tcss', '**/*.tcss'].

2. [project.dependencies] was missing textual-fastdatatable, pyarrow
   (imported unconditionally by the Proxy screen's DataTable backend)
   and psutil (Dashboard). They were listed in requirements.txt but that
   file has no effect on what pip installs from PyPI — only
   [project.dependencies] does. Added all three.

Verified locally: rebuilt the wheel with 'python -m build', confirmed all
33 .tcss files now present via 'unzip -l', and confirmed the previous
ModuleNotFoundError('pyarrow') reproduced with the old deps and resolved
with the fix.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Assets 2
Loading