https://bugzilla.redhat.com/show_bug.cgi?id=2386079



--- Comment #29 from Luya Tshimbalanga <[email protected]> ---
(In reply to Benson Muite from comment #27)
> Thanks. Modified setup.py so that the setup section contains:
> 
> setup(
>     include_package_data=True,
>     py_modules=['manifold3d'],
>     packages=find_packages(
>         where='.',
>         exclude=['build','CMakeFiles'],
>     ),
>     package_data={
>         '': ['manifold3d*.so', 'manifold3d.pyi']
>     },
>     distclass=BinaryDistribution
> )
> 
> This gives the correct information in top-level.txt
> 
> Get the following build error when trying to use %pyproject_save_files -l
> manifold3d
> 
>   File "/usr/lib/rpm/redhat/pyproject_save_files.py", line 829, in
> pyproject_save_files_and_modules
>     generate_file_list(paths_dict, globs, include_auto)
>     ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/rpm/redhat/pyproject_save_files.py", line 627, in
> generate_file_list
>     raise ValueError(f"Globs did not match any module: {missed_text}")
> ValueError: Globs did not match any module: manifold3d
> 
"{missed_text}" seems like missing hence the pointer
"generate_file_list(paths_dict, globs, include_auto)"
The previous approach inside setup.py worked despite the incorrect info in
top-level.txt. We could address the issue after packaging or disable the python
binding subpackage.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2386079

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202386079%23c29

-- 
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to