9 lines
291 B
9 lines
291 B
5 years ago
|
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'])
|
||
|
|