Skip to content

Error with certain arguments to find_packages  #13

@Zearin

Description

@Zearin

In my pypackage.meta:

...
"packages":     "find_packages('src', include=['cucumber','cucumber.*'])",
...

When I run py-build, I get the following error:

error: package directory 'src/find_packages('src', include=['cucumber','cucumber/*'])' does not exist

I realize that exclude=[…] is the more common kwarg to find_packages. However, according to the setuptools documentation “Using find_packages, the find_packages function accepts a starting dir, and “two lists of package name patterns to exclude and include”.

(You can reproduce this bug using the same steps as described in #12. ☻ )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions