Skip to content

Commit b537905

Browse files
committed
further cleanup
1 parent 2143fa2 commit b537905

12 files changed

+0
-25
lines changed

src/rapidfuzz/_feature_detector_cpp.pyx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
# distutils: language=c++
2-
31
from libc.stdint cimport uint32_t
42

5-
63
cdef extern from "FeatureDetector/CpuInfo.hpp":
74
cdef int CPU_FEATURE_SSE2
85
cdef int CPU_FEATURE_AVX2

src/rapidfuzz/cpp_common.pxd

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# distutils: language=c++
2-
31
from cpython.object cimport PyObject
42
from cpython.pycapsule cimport PyCapsule_GetPointer, PyCapsule_IsValid, PyCapsule_New
53
from libc.stddef cimport wchar_t

src/rapidfuzz/distance/_initialize_cpp.pxd

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# distutils: language=c++
2-
31
from cpp_common cimport RfEditops, RfOpcodes
42
from libcpp cimport bool
53
from libcpp.vector cimport vector

src/rapidfuzz/distance/_initialize_cpp.pyx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# distutils: language=c++
2-
31
from cpp_common cimport EditType, RfEditOp, RfOpcode, convert_string, is_valid_string
42
from cpython.list cimport PyList_New, PyList_SET_ITEM
53
from cpython.pycapsule cimport PyCapsule_GetPointer, PyCapsule_IsValid, PyCapsule_New

src/rapidfuzz/distance/metrics_cpp.pyx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# distutils: language=c++
2-
31
from . import metrics_py
42
from ._initialize_cpp import Editops
53
import sys
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
# distutils: language=c++
2-
31
# this is a hack since I could not get this to build in cmake without it
42
include "metrics_cpp.pyx"
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
# distutils: language=c++
2-
31
# this is a hack since I could not get this to build in cmake without it
42
include "metrics_cpp.pyx"

src/rapidfuzz/fuzz_cpp.pyx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# distutils: language=c++
2-
31
from . import fuzz_py
42
from .distance._initialize_cpp import ScoreAlignment
53

src/rapidfuzz/fuzz_cpp_avx2.pyx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
# distutils: language=c++
2-
31
# this is a hack since I could not get this to build in cmake without it
42
include "fuzz_cpp.pyx"

src/rapidfuzz/fuzz_cpp_sse2.pyx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
# distutils: language=c++
2-
31
# this is a hack since I could not get this to build in cmake without it
42
include "fuzz_cpp.pyx"

0 commit comments

Comments
 (0)