Re: Python packaging with pip

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

 



On 8/4/23 22:08, Scott Talbert wrote:
> On Fri, 4 Aug 2023, Susi Lehtola wrote:
>> Hi,
>>
>> it's been a while since I did active Python packaging. However, one of my
>> packages, python-qcelemental, https://github.com/MolSSI/QCElemental, has
>> switched over from setup.py to
>>
>> $ python -m pip install qcelemental
>>
>> I did not see anything in the Python packaging guidelines on how to handle such
>> cases in the spec file. Does anybody have an example I could follow?
> 
> You can't build Fedora packages using pip (no network access allowed), but 
> it looks like they switched to a pyproject.toml, so following the standard 
> modern guidelines should work, ie:
> 
> %generate_buildrequires
> %pyproject_buildrequires
> 
> %build
> %pyproject_wheel
> 
> %install
> %pyproject_install

Dear Scott,

thanks; this did the trick!

Susi
-- 
Susi Lehtola
Fedora Project Contributor
jussilehtola@xxxxxxxxxxxxxxxxx
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-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/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux