Dear Gordon,


Can I create with this line of command :

'''python3 -m pip install env venv <package>''' then the other line of command,

Thanks you in advance for your answer,

Regards.


Dorian Rosse.

From: Gordon Messmer <gordon.messmer@gmail.com>
Sent: Sunday, February 20, 2022 8:29:46 PM
To: users@lists.fedoraproject.org <users@lists.fedoraproject.org>
Subject: Re: does i am able to build a python program for rpm using '''python setup.py bdist_rpm''' with dependency python in virtual using '''python3 -m pip install --user env venv <package>'''
 
On 2/20/22 01:39, Dorian ROSSE wrote:
> does i am able to build a python program for rpm using '''python
> setup.py bdist_rpm''' with dependency python in virtual using
> '''python3 -m pip install --user env venv <package>''',


I think those two things are mostly unrelated.  The rpm created by
bdist_rpm will target the system installation of Python, not a user's
venv.  If you want to create something that can be installed in a venv
by pip, I believe you'd want to create a "wheel".
_______________________________________________
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