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 ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



What is ‘’’ bdist_rpm’’’ ?

 

Thank you in advance for your answer,

 

Regards.

 

 

Dorian ROSSE.

 

Envoyé à partir de Courrier pour Windows

 


De : Roberto Ragusa <mail@xxxxxxxxxxxxxxxx>
Envoyé : Tuesday, February 15, 2022 5:23:21 PM
À : users@xxxxxxxxxxxxxxxxxxxxxxx <users@xxxxxxxxxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux