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