Skip to content

Working example for setuptools.file_finders? #1127

@karolyi

Description

@karolyi

Hello,

I have a project where I need to exclude files from under src/ (tests) and I bumped into the file_finders option: https://setuptools-scm.readthedocs.io/en/latest/usage/#file-finders-hook-makes-most-of-manifestin-unnecessary

This is all nice and dandy but I couldn't get it to work within a pyproject.toml, and I couldn't find any examples for it.

It would be highly appreciated if someone could create more documentation about it with actual working examples, because I've been searching for a solution for half a day now, and I'm not even a rookie in python.

If I can't get it to work, I have no idea how other people will be able to.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions