Closed reinecke closed 3 months ago
The setup.py build_py action uses the editable_mode attribute, however there are some invocation paths where this isn't set.
setup.py
editable_mode
This adds defaulting behavior to avoid an AttributeError in those cases.
AttributeError
Reference associated tests.
I validated this through the various make, pip, and python setup.py... commands.
make
pip
python setup.py...
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 79.96%. Comparing base (82068e3) to head (16e9975).
82068e3
16e9975
The
setup.py
build_py action uses theeditable_mode
attribute, however there are some invocation paths where this isn't set.This adds defaulting behavior to avoid an
AttributeError
in those cases.Reference associated tests.
I validated this through the various
make
,pip
, andpython setup.py...
commands.