python / importlib_metadata

Library to access metadata for Python packages
https://importlib-metadata.readthedocs.io
Apache License 2.0
128 stars 82 forks source link

package directory 'find_namespace:' does not exist #383

Closed mansoor17syed closed 1 year ago

mansoor17syed commented 2 years ago

Hi Team,

When I try to create a RPM out of the package I see below error Can you Please helm me fix it.

Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.oPH6ER

RPM build errors: Bad exit status from /var/tmp/rpm-tmp.oPH6ER (%build) make: *** [Makefile:82: impdata] Error 1

jaraco commented 2 years ago

"find_namespace:" is a special directive to "packages" in setuptools. It's possible you have an old version of Setuptools. Other users who've reported this issue online upgraded pip. So I'd make sure you have an up-to-date Setuptools and pip and report back if you still get the error.