Skip to content

top-level tests directory wrongly grabbed by find_packages() #86

Closed

Description

@jcb

Hello,

I would like to package python-markdownify for Gentoo Linux, however I encounter a problem: setuptools tries to install the top-level directory "tests". I am not a Python expert, but I think that it could be fixed by specifying the "exclude" parameter of find_packages(). It would restrict the installed package list.

In setup.py, packages=find_packages() could be rewritten as packages=find_packages(exclude=["tests"])).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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