You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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'])
|
||
|
|