Closed boboli closed 6 months ago
Hi I updated the data dirs search path, but I'm not sure if you'll be able to test it.
Normally I would say run the following (but before, remove your previous DisplayCAL installation from pipx, I don't know how btw):
git clone https://github.com/eoyilmaz/displaycal-py3
cd displaycal-py3
git checkout 318-using-pipx-to-install-leads-to-path-errors
python -m virtualenv .venv
source .venv/bin/activate
pip install -r requirements.txt
python -m build
pipx install dist/DisplayCAL-3.9.*.whl
and try running displaycal
... and it should find the language files... at least I'm hopping that it would...
This is merged to the develop
branch so the above commands will not work, instead run the following:
git clone https://github.com/eoyilmaz/displaycal-py3
cd displaycal-py3
git checkout develop
make venv
make build
pipx install dist/DisplayCAL-3.9.*.whl
I just tested it on both the develop
branch as well as the latest 3.9.12
tag/release, and it works now. Thanks!
Cool, closing this issue then 👍
I successfully built the wheel for version 3.9.11, and then installed it with
pipx
(like pip, but it installs each wheel into its own isolated virtualenv). When I rundisplaycal
, I get an error about not finding language files:Poking around a bit, I found that pipx installed these share/ files at
~/.local/share/pipx/venvs/displaycal/share/
rather than just~/.local/share/
. After I create a symlink at~/.local/share
displaycal runs perfectly. It seems like the search paths need to be broadened a bit to work with pipx.I'm on Ubuntu 22.04.3 64-bit if it matters.