On Thu, Jun 15, 2023 10:13:28 -0000, David Schwörer wrote:
> $ sudo dnf repoquery -l python3-bout++ | grep info
> # returns nothing
>
> Thanks again for all your replies. I'm going to spend some time
> tinkering with the nest sources to see what I can do.
They should be though in the mpi packages:
$ sudo dnf repoquery -l python3-bout++-mpich | grep info
# returns nothing
But they are there missing as well.
I think the issue is that not the wheel gets installed with cmake, but the installation
is done with cmake:
https://github.com/boutproject/BOUT-dev/blob/master/tools/pylib/_boutpp_b...
I just notice that the wheel is not build at all, as that invokes
cmake itself, thus a different wheel would need to be build by cmake,
but then I am not sure how that can be installed?
So the wheel is built manually:
https://github.com/boutproject/BOUT-dev/blob/cbd197e78f7d52721188badfd7c3...
but I don't see where they then install it. Maybe that's the step that's
missing, and would install the dist-info etc.?
Looking at `pyproject_install`:
$ rpm -E %{pyproject_install}
\
specifier=$(ls /home/asinha/rpmbuild/BUILD/pyproject-wheeldir/*.whl | xargs basename
--multiple | sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/')
TMPDIR="/home/asinha/rpmbuild/BUILD/.pyproject-builddir" /usr/bin/python3 -m pip
install --root /home/asinha/rpmbuild/BUILDROOT/%{NAME}-%{VERSION}-%{RELEASE}.x86_64
--prefix /usr --no-deps --disable-pip-version-check --progress-bar off --verbose
--ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links
/home/asinha/rpmbuild/BUILD/pyproject-wheeldir $specifier
Source here:
https://src.fedoraproject.org/rpms/pyproject-rpm-macros/blob/rawhide/f/ma...
So, for nest, I'm thinking I can build and install the wheel manually
perhaps similar to how I build and install the package manually now,
only at the moment I do it with `setup.py`.
--
Thanks,
Regards,
Ankur Sinha "FranciscoD" (He / Him / His) |
https://fedoraproject.org/wiki/User:Ankursinha
Time zone: Europe/London