Skip to content

Commit

Permalink
Include tests using MANIFEST.in instead of setup.py
Browse files Browse the repository at this point in the history
Fixes #28, #90. This should result in tests being included in the source
distribution (along with docs for package maintainers to use); but not
being "installed" when the module is installed (as users complain the
tests aren't needed at runtime).

#28
#63
#90
  • Loading branch information
borntyping committed Nov 6, 2020
1 parent 241bcc8 commit c3e3a21
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
7 changes: 4 additions & 3 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include README.md
global-exclude *.py[co]
include colorlog/tests/
include doc/
include LICENSE
include colorlog/tests/test_config.ini
graft doc
include README.md
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='colorlog',
version='4.4.0',
version='4.5.0',

description='Log formatting with colors!',
long_description=open('README.md').read(),
Expand All @@ -14,8 +14,7 @@
license='MIT License',

packages=[
'colorlog',
'colorlog.tests'
'colorlog'
],

setup_requires=[
Expand Down

0 comments on commit c3e3a21

Please sign in to comment.