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



--- Comment #27 from Benson Muite <[email protected]> ---
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

see
https://src.fedoraproject.org/rpms/pyproject-rpm-macros/blob/rawhide/f/pyproject_save_files.py#_627

full build
https://koji.fedoraproject.org/koji/taskinfo?taskID=139451343

Unclear to me at present why this is.


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
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%23c27

-- 
_______________________________________________
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