Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent setup.py from installing a "tests" package #458

Merged
merged 1 commit into from Dec 20, 2016
Merged

Prevent setup.py from installing a "tests" package #458

merged 1 commit into from Dec 20, 2016

Commits on Dec 19, 2016

  1. Prevent setup.py from installing a "tests" package

    The `setup.py` script uses function `setuptools.find_packages` to choose
    which modules should be installed and which should not. By default, this
    function incorrectly includes the top-level "tests" directory. Prevent
    this by explicitly whitelisting the modules and packages to be included.
    
    An even better solution is to place unit tests in a top-level "test"
    directory. This is a common convention that allows unit tests to be run
    on installed packages. However, the exact requirements and conventions
    for doing this are unclear.
    Ichimonji10 committed Dec 19, 2016
    Copy the full SHA
    70214dd View commit details
    Browse the repository at this point in the history