You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
meson-python puts compiled modules in a build/cp311/src/package folder, while any Python sources remain in src/package, taking precedence over the folder with compiled modules. Therefore Griffe never scans the compiled modules.
Describe the solution you'd like
I suppose that, in some cases such as this one, we could mark some directories as "always scan". The functions that handle pth files and editable modules should therefore return additional information like, "should this directory be always scanned?". The Finder would store them in a map: {"package_name": ["additional_folders"]}, and use that map in its submodules or iter_submodules method.
Is your feature request related to a problem? Please describe.
meson-python puts compiled modules in a
build/cp311/src/package
folder, while any Python sources remain insrc/package
, taking precedence over the folder with compiled modules. Therefore Griffe never scans the compiled modules.Describe the solution you'd like
I suppose that, in some cases such as this one, we could mark some directories as "always scan". The functions that handle pth files and editable modules should therefore return additional information like, "should this directory be always scanned?". The Finder would store them in a map:
{"package_name": ["additional_folders"]}
, and use that map in itssubmodules
oriter_submodules
method.Describe alternatives you've considered/
/
Additional context
machow/quartodoc#323
The text was updated successfully, but these errors were encountered: