Commit ac6bbd5f authored by André Anjos's avatar André Anjos 💬

Merge branch '23-c-test-inside-main-cpp' into 'master'

Moved test function into its own extension

Closes #23

See merge request !27
parents d98c3071 704d234c
Pipeline #10479 passed with stages
in 19 minutes and 12 seconds
This diff is collapsed.
This diff is collapsed.
......@@ -124,7 +124,7 @@ def test_image_load():
def test_cpp_interface():
from ._library import _test_io
from ._test import _test_io
import tempfile
import shutil
......
......@@ -422,8 +422,23 @@ setup(
libraries = libraries,
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 = {
'build_ext': build_ext
},
......
2.2.3b0
\ No newline at end of file
2.2.3b1
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