1 From 9686dd9c7670d18acff6360c8444520273d5f1b2 Mon Sep 17 00:00:00 2001
2 From: Jakub Wilk <jwilk@jwilk.net>
3 Date: Fri, 16 Jun 2023 09:24:21 +0200
4 Subject: [PATCH] Make regexp string raw to correct its escape sequence usage
10 setup.py:117: DeprecationWarning: invalid escape sequence \.
14 1 file changed, 1 insertion(+), 1 deletion(-)
16 diff --git a/setup.py b/setup.py
17 index 709cbc68..7a3f46e5 100644
20 @@ -114,7 +114,7 @@ extra_options['packages'] = [
22 def setup_extra_options():
23 is_interesting_package = re.compile('^(libxml|libxslt|libexslt)$').match
24 - is_interesting_header = re.compile('^(zconf|zlib|.*charset)\.h$').match
25 + is_interesting_header = re.compile(r'^(zconf|zlib|.*charset)\.h$').match
27 def extract_files(directories, pattern='*'):
28 def get_files(root, dir_path, files):