Skip to content

Commit

Permalink
Python-Bindings: Subsequent local build and install fails
Browse files Browse the repository at this point in the history
if the MythTVs Python-Bindings of the same version are already installed.

Solution:
Add the switch `--ignore-installed` to the `pip install` sequence,
which insatll the generated python-wheel file unconditionally.

Thanks to Mark S. for reporting this issue and providing hints to solve it.

Fixes #843
  • Loading branch information
rcrdnalor committed Jan 10, 2024
1 parent d558e1e commit bc973e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/bindings/python/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ python_build:
$(PYTHON) -m pip wheel $(PIP_OPTIONS) --wheel-dir ./$(WHEEL_DIR) .

install:
$(PYTHON) -m pip install $(ROOT_FLAGS) $(PREFIX_FLAGS) $(PIP_OPTIONS) --find-links ./$(WHEEL_DIR) MythTV
$(PYTHON) -m pip install $(ROOT_FLAGS) $(PREFIX_FLAGS) $(PIP_OPTIONS) --ignore-installed --find-links ./$(WHEEL_DIR) MythTV

uninstall:
$(warning python pip uninstall is not supported for python bindings)
Expand Down

0 comments on commit bc973e3

Please sign in to comment.