What is ‘’’ bdist_rpm’’’ ?

 

Thank you in advance for your answer,

 

Regards.

 

 

Dorian ROSSE.

 

Envoyé à partir de Courrier pour Windows

 


De : Roberto Ragusa <mail@robertoragusa.it>
Envoyé : Tuesday, February 15, 2022 5:23:21 PM
À : users@lists.fedoraproject.org <users@lists.fedoraproject.org>
Objet : Re: RE : Does it is better to '''python3 -m install the_program''' instead '''pip3 install the_program" when it is missing in the downloader primary ?
 
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
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure