Skip to content

groundwork distribution delivers tests #20

@ubmarco

Description

@ubmarco

When running python setup.py sdist against a groundwork Git checkout, the tests folder gets included:

$ tree -d groundwork-0.1.12
groundwork-0.1.12
├── groundwork
│   ├── applications
│   ├── configuration
│   ├── patterns
│   ├── plugins
│   └── recipes
│       └── gw_package
│           └── {{cookiecutter.project_name}}
│               ├── {{cookiecutter.project_slug}}
│               │   ├── applications
│               │   ├── patterns
│               │   ├── plugins
│               │   └── recipes
│               ├── {{cookiecutter.test_folder}}
│               └── docs
│                   └── _static
├── groundwork.egg-info
└── tests
    └── test_plugins

When installed into a virtualenv, the tests are put in a separate folder beside all other site-packages, as if it were a dedicated package:

(py36_venv) py36_venv/lib/python3.5/site-packages$ tree -d -I __pycache__ groundwork tests/
groundwork
├── applications
├── configuration
├── patterns
├── plugins
└── recipes
    └── gw_package
        └── {{cookiecutter.project_name}}
            ├── {{cookiecutter.project_slug}}
            │   ├── applications
            │   ├── patterns
            │   ├── plugins
            │   └── recipes
            ├── {{cookiecutter.test_folder}}
            └── docs
                └── _static
tests/
└── test_plugins


Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions