python-pygments/backport-Use-wildcards-to-include-the-pygments-module.patch

27 lines
854 B
Diff
Raw Normal View History

From 01f05b4dc5155745d401f31545fc1a089e8a3710 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Matth=C3=A4us=20G=2E=20Chajdas?= <dev@anteru.net>
Date: Fri, 29 Nov 2019 20:21:03 +0100
Subject: [PATCH] Use wildcards to include the pygments module.
This should fix PR#1316 properly.
---
setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index d4555e3f..9c245215 100755
--- a/setup.py
+++ b/setup.py
@@ -35,7 +35,7 @@ setup(
description = 'Pygments is a syntax highlighting package written in Python.',
long_description = __doc__,
keywords = 'syntax highlighting',
- packages = find_packages(exclude=['tests']),
+ packages = find_packages(include=['pygments', 'pygments.*']),
entry_points = {
'console_scripts': ['pygmentize = pygments.cmdline:main'],
},
--
2.42.0.windows.2