summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorMatthäus G. Chajdas <dev@anteru.net>2019-11-26 17:36:17 +0100
committerMatthäus G. Chajdas <dev@anteru.net>2019-11-26 18:56:07 +0100
commit8d0828bbfc5b8deb7525a19e1037704f644563da (patch)
tree0ce5e3ad4ad5cedfad63f949d4e2e337bcf27636 /setup.py
parentfddbfffc7699120d9687d55b5ebd473d8f530ec6 (diff)
downloadpygments-git-8d0828bbfc5b8deb7525a19e1037704f644563da.tar.gz
Exclude tests from distribution.
The tests package is found as a package due to presence of __init__.py. Use include to ensure only pygments gets installed.
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 4ec1ebe2..4982023d 100755
--- a/setup.py
+++ b/setup.py
@@ -33,7 +33,7 @@ setup(
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'],
},