Skip to content

Commit

Permalink
Exclude tests from distribution.
Browse files Browse the repository at this point in the history
The tests package is found as a package due to presence of __init__.py. Use include to ensure only pygments gets installed.
  • Loading branch information
Anteru committed Nov 26, 2019
1 parent fddbfff commit 8d0828b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -33,7 +33,7 @@
description = 'Pygments is a syntax highlighting package written in Python.',
long_description = __doc__,
keywords = 'syntax highlighting',
packages = find_packages(),
packages = find_packages(include=['pygments']),
entry_points = {
'console_scripts': ['pygmentize = pygments.cmdline:main'],
},
Expand Down

0 comments on commit 8d0828b

Please sign in to comment.