Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Commit

Permalink
Don't install tests/ folder into python module path
Browse files Browse the repository at this point in the history
Exclude it from the list of packages installed by setup.py

MANIFEST.in isn't needed for modern dists, using packages and
package_data is enough
  • Loading branch information
ashb committed May 7, 2015
1 parent 06e9507 commit 5afc142
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,11 @@
## Version 0.4.x (Unreleased)

* Fix dist to not include tests/ folder

This would cause problems for downstream modules (i.e. bootstrap-salt) as
they would then try to run our tests, but wouldn't have half the needed test
modules.

## Version 0.4.0

First release to PyPi
Expand Down
4 changes: 0 additions & 4 deletions MANIFEST.in

This file was deleted.

2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -34,7 +34,7 @@
author_email='tools@digital.justice.gov.uk',
description='MOJDS cloudformation bootstrap tool',
long_description=__doc__,
packages=find_packages(),
packages=find_packages(exclude=["tests"]),
package_data={'bootstrap_cfn': ['stacks/*']},
zip_safe=False,
platforms='any',
Expand Down

0 comments on commit 5afc142

Please sign in to comment.