Mailing List Archive

Installing package as root to a system directory
Hi,

I use poetry to develop system software packages as a normal user. To
install the packages I use, again as a normal user

export PYTHONUSERBASE=/some/path
pip3 install --user somepackage.whl

and add /some/path to

/usr/lib64/python3.6/site-packages/zedat.pth

This works well enough, but seems to me to be a little clunky, mainly
because the files don't then belong to root. The most correct way, in
my case, would probably be to create an RPM out of the Python package,
but that seems like it would be too much overhead.

What other approaches to people use?

Cheers,

Loris

--
This signature is currently under constuction.
--
https://mail.python.org/mailman/listinfo/python-list