On 2/14/22 3:47 PM, Aristeidis Dimitriadis wrote:
On 12/02/2022 00:19, Dorian ROSSE wrote:
> This is interesting but i am in using of python for the way of dependency finaly i
need to install dependency i don’t need in virtual,
>
> Regards.
>
> Dorian ROSSE.
>
Not sure what it is your are trying to do. If you want to run a program NOT provided as
an RPM that has a Python dependency that is also NOT packaged as an RPM, then, using the
same user as the one that will execute the program, run:
python -m pip install --user <package>
This is installed in $HOME/.local/lib/<python version> and is accessible to every
python program run by that user.
If one really wants the package to be avail
globally one could make an rpm and install it.
At least it will be easier to remove in the future.
$ python setup.py bdist_rpm # as standard user
# rpm -ihv xxxxxx.rpm # as root
Best regards.
--
Roberto Ragusa mail at robertoragusa.it