On Tue, Jun 13, 2023 08:31:49 -0000, David Schwörer wrote:
> Hi Ankur,

Hi David,

Thanks for your reply.

> Not sure whether that helps, but BOUT++ (requires MPI) switched to a
> custom back end [1] when it switched to cmake [2] from configure +
> calling setup.py. The main motivation was to enable packaging in
> fedora, but it also allowed to just pip install the whole package, as
> BOUT++ is now PEP-517 enabled.
> 
> This doesn't call the pyproject macros, but just the cmake ones [3],
> so not sure this is applicable to what you need, but maybe it offers
> at least some insight into how it is done for other MPI codes ...

That's interesting. So it builds the cpython as part of the cmake build
and then simply installs it in the required directory.

How does it generate the dist-info metadata, though? That's the bit
where nest uses `python setup.py install_egg_info`.

https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_dist_info_metadata

https://github.com/sanjayankur31/nest-simulator/blob/41892a50f95ddf50966e2371151b207d098e814a/pynest/CMakeLists.txt#L84

-- 
Thanks,
Regards,
Ankur Sinha "FranciscoD" (He / Him / His) | 
https://fedoraproject.org/wiki/User:Ankursinha
Time zone: Europe/London

Attachment: signature.asc
Description: PGP signature

_______________________________________________
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-le...@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/python-devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to