Commit ce850d33 authored by Manuel Günther's avatar Manuel Günther
Browse files

Loaded bob.io.base Library before importing _library.

parent 00381014
# import Libraries of other lib packages
import bob.io.base
from . import _library from . import _library
from . import version from . import version
from .version import module as __version__ from .version import module as __version__
......
...@@ -17,8 +17,6 @@ develop = src/bob.extension ...@@ -17,8 +17,6 @@ develop = src/bob.extension
; options for bob.buildout extension ; options for bob.buildout extension
debug = true debug = true
verbose = true verbose = true
prefixes = /idiap/group/torch5spro/releases/preview/install/linux-x86_64-release
/Users/andre/work/bob/b/dbg/
[sources] [sources]
bob.extension = git https://github.com/bioidiap/bob.extension bob.extension = git https://github.com/bioidiap/bob.extension
......
...@@ -12,6 +12,8 @@ from bob.extension.utils import egrep, find_header, find_library ...@@ -12,6 +12,8 @@ from bob.extension.utils import egrep, find_header, find_library
from bob.blitz.extension import Extension from bob.blitz.extension import Extension
packages = ['boost', 'libpng'] packages = ['boost', 'libpng']
boost_modules = ['system']
version = '2.0.0a0' version = '2.0.0a0'
def libjpeg_version(header): def libjpeg_version(header):
...@@ -430,13 +432,13 @@ setup( ...@@ -430,13 +432,13 @@ setup(
namespace_packages=[ namespace_packages=[
"bob", "bob",
"bob.io", "bob.io",
], ],
ext_modules = [ ext_modules = [
Extension("bob.io.image.version", Extension("bob.io.image.version",
[ [
"bob/io/image/version.cpp", "bob/io/image/version.cpp",
], ],
packages = packages, packages = packages,
boost_modules = ['system'], boost_modules = ['system'],
bob_packages = bob_packages, bob_packages = bob_packages,
...@@ -445,7 +447,8 @@ setup( ...@@ -445,7 +447,8 @@ setup(
library_dirs = library_dirs, library_dirs = library_dirs,
libraries = libraries, libraries = libraries,
define_macros = define_macros, define_macros = define_macros,
), ),
Extension("bob.io.image._library", Extension("bob.io.image._library",
[ [
"bob/io/image/tiff.cpp", "bob/io/image/tiff.cpp",
...@@ -455,7 +458,7 @@ setup( ...@@ -455,7 +458,7 @@ setup(
"bob/io/image/bmp.cpp", "bob/io/image/bmp.cpp",
"bob/io/image/netpbm.cpp", "bob/io/image/netpbm.cpp",
"bob/io/image/main.cpp", "bob/io/image/main.cpp",
], ],
packages = packages, packages = packages,
boost_modules = ['filesystem'], boost_modules = ['filesystem'],
bob_packages = bob_packages, bob_packages = bob_packages,
...@@ -464,8 +467,8 @@ setup( ...@@ -464,8 +467,8 @@ setup(
library_dirs = library_dirs, library_dirs = library_dirs,
libraries = libraries, libraries = libraries,
define_macros = define_macros, define_macros = define_macros,
), ),
], ],
classifiers = [ classifiers = [
'Development Status :: 3 - Alpha', 'Development Status :: 3 - Alpha',
...@@ -476,6 +479,6 @@ setup( ...@@ -476,6 +479,6 @@ setup(
'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3',
'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Software Development :: Libraries :: Python Modules',
'Environment :: Plugins', 'Environment :: Plugins',
], ],
) )
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