8 lines
291 B
8 lines
291 B
Import('env')
|
|
from sysconfig import get_paths
|
|
env['CPPPATH'] += [get_paths()['include']]
|
|
|
|
from Cython.Build import cythonize
|
|
cythonize("cframereader.pyx")
|
|
env.SharedLibrary(File('cframereader.so'), ['cframereader.cpp', 'FrameReader.cpp'], LIBS=['avformat', 'avcodec', 'avutil', 'swscale'])
|
|
|
|
|