This commit is contained in:
18
ppocr/postprocess/pse_postprocess/pse/setup.py
Normal file
18
ppocr/postprocess/pse_postprocess/pse/setup.py
Normal file
@@ -0,0 +1,18 @@
|
||||
from distutils.core import setup, Extension
|
||||
from Cython.Build import cythonize
|
||||
import numpy
|
||||
|
||||
setup(
|
||||
ext_modules=cythonize(
|
||||
Extension(
|
||||
"pse",
|
||||
sources=["pse.pyx"],
|
||||
language="c++",
|
||||
include_dirs=[numpy.get_include()],
|
||||
library_dirs=[],
|
||||
libraries=[],
|
||||
extra_compile_args=["-O3"],
|
||||
extra_link_args=[],
|
||||
)
|
||||
)
|
||||
)
|
||||
Reference in New Issue
Block a user