Just found that for some bootstrapping from non-root account on packaging for new major python version it would be good to have handle --user switch like pip provides.
In such scenario on bootstrapping when in build env where is installed only python and necessary .whl archives in /usr/share/python-wheels/.
For example on package as rpm package installer bootstrapping could be performed by:
- unpack
installer source tree
- install
packaging archive /usr/share/python-wheels/packaging-*.whl in user sitelib home directory (by default it is ~/.local/lib/python3.<major_ver>/site-packages with pointing $PYTHONPATH to $PWD/sr
- unpack /usr/share/python-wheels/installer-*.whl in rpm package %{buildroot} with pointing $PYTHONPATH to $PWD/src
- because
packaging modules is installed rpm post install dependencies generator which uses packaging is able to generate package provides and requires lists.
Possible to add such feature? 🤔
Just found that for some bootstrapping from non-root account on packaging for new major python version it would be good to have handle
--userswitch likepipprovides.In such scenario on bootstrapping when in build env where is installed only python and necessary .whl archives in /usr/share/python-wheels/.
For example on package as rpm package
installerbootstrapping could be performed by:installersource treepackagingarchive /usr/share/python-wheels/packaging-*.whl in user sitelib home directory (by default it is ~/.local/lib/python3.<major_ver>/site-packages with pointing $PYTHONPATH to $PWD/srpackagingmodules is installed rpm post install dependencies generator which usespackagingis able to generate package provides and requires lists.Possible to add such feature? 🤔