Commit c81d855a authored by Manuel Günther's avatar Manuel Günther

Moved test function into its own extension

parent d98c3071
Pipeline #10457 passed with stages
in 20 minutes and 46 seconds
This diff is collapsed.
This diff is collapsed.
...@@ -124,7 +124,7 @@ def test_image_load(): ...@@ -124,7 +124,7 @@ def test_image_load():
def test_cpp_interface(): def test_cpp_interface():
from ._library import _test_io from ._test import _test_io
import tempfile import tempfile
import shutil import shutil
......
...@@ -422,8 +422,23 @@ setup( ...@@ -422,8 +422,23 @@ setup(
libraries = libraries, libraries = libraries,
define_macros = define_macros, define_macros = define_macros,
), ),
Extension("bob.io.image._test",
[
"bob/io/image/test.cpp",
],
packages = packages,
boost_modules = boost_modules,
bob_packages = bob_packages,
version = version,
system_include_dirs = system_include_dirs,
library_dirs = library_dirs,
libraries = libraries,
define_macros = define_macros,
),
], ],
cmdclass = { cmdclass = {
'build_ext': build_ext 'build_ext': build_ext
}, },
......
2.2.3b0 2.2.3b1
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment