On Mon, Aug 15, 2022 at 05:48:34PM -0400, Marc Lavallée wrote:
So the Makefile could be:
PIP = python3 -m pip
PKG = zita_audiotools
build:
$(PIP) wheel .
install:
$(PIP) install --force-reinstall $(PKG)*.whl
uninstall:
$(PIP) uninstall $(PKG)
clean:
rm -rf build $(PKG)*.egg-info $(PKG)*.whl
This worked perfectly a month ago on my main system. Now I'm in holidays
with only my laptop, and it fails:
python3 -m pip wheel .
Processing /home/fons/python/jackimpfilt
Preparing metadata (setup.py) ... [?25ldone
[?25hBuilding wheels for collected packages: jackimpfilt
Building wheel for jackimpfilt (setup.py) ... [?25lerror
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'bdist_wheel'
[end of output]
python version is 3.10.5
Another difference IIRC is that on my main system pip would set up
a virtual environment, while this doesn't seem to happen here.
Have things changed again ????
--
FA