From 90a088cb234225b6e93f089eb4a0e15d1489286c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
Date: Wed, 22 Feb 2023 15:02:59 +0100
Subject: [PATCH 2/2] python: drop pointless line continuations
---
py_ext/setup.py | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/py_ext/setup.py b/py_ext/setup.py
index 0bc35413b5..3142b758dd 100644
--- a/py_ext/setup.py
+++ b/py_ext/setup.py
@@ -22,23 +22,23 @@ with open(join(realpath('..'), 'CMakeLists.txt'), 'r') as f:
tlsh_3b = ''
if os.name == 'nt':
- tlsh_module = Extension('tlsh', \
- sources = ['tlshmodule.cpp', \
- join(realpath('..'), 'src', 'tlsh.cpp'), \
- join(realpath('..'), 'src', 'tlsh_impl.cpp'), \
- join(realpath('..'), 'src', 'tlsh_util.cpp') \
- ], \
+ tlsh_module = Extension('tlsh',
+ sources = ['tlshmodule.cpp',
+ join(realpath('..'), 'src', 'tlsh.cpp'),
+ join(realpath('..'), 'src', 'tlsh_impl.cpp'),
+ join(realpath('..'), 'src', 'tlsh_util.cpp'),
+ ],
include_dirs = [join(realpath('..'), 'include'),
- join(realpath('..'), 'Windows')],\
- define_macros = [('WINDOWS', None),], \
+ join(realpath('..'), 'Windows')],
+ define_macros = [('WINDOWS', None),],
)
else:
- tlsh_module = Extension('tlsh', \
- sources = ['tlshmodule.cpp', \
- join(realpath('..'), 'src', 'tlsh.cpp'), \
- join(realpath('..'), 'src', 'tlsh_impl.cpp'), \
- join(realpath('..'), 'src', 'tlsh_util.cpp') \
- ], \
+ tlsh_module = Extension('tlsh',
+ sources = ['tlshmodule.cpp',
+ join(realpath('..'), 'src', 'tlsh.cpp'),
+ join(realpath('..'), 'src', 'tlsh_impl.cpp'),
+ join(realpath('..'), 'src', 'tlsh_util.cpp'),
+ ],
include_dirs = [join(realpath('..'), 'include')],
)
--
2.39.1