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(): ...@@ -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