Skip to content
Snippets Groups Projects
Commit 9a35cfc3 authored by Manuel Günther's avatar Manuel Günther
Browse files

Loaded bob.math Library before importing _library.

parent e88b7a4b
No related branches found
No related tags found
No related merge requests found
# import Libraries of other lib packages
import bob.math
from ._library import * from ._library import *
from . import version from . import version
from .version import module as __version__ from .version import module as __version__
......
...@@ -18,8 +18,6 @@ develop = src/bob.extension ...@@ -18,8 +18,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
......
...@@ -9,10 +9,7 @@ from setuptools import setup, find_packages, dist ...@@ -9,10 +9,7 @@ from setuptools import setup, find_packages, dist
dist.Distribution(dict(setup_requires=['bob.blitz'] + bob_packages)) dist.Distribution(dict(setup_requires=['bob.blitz'] + bob_packages))
from bob.blitz.extension import Extension from bob.blitz.extension import Extension
packages = [ packages = ['blitz >= 0.10', 'boost']
'blitz >= 0.10',
'boost', # any version will do, only need headers
]
version = '2.0.0a0' version = '2.0.0a0'
...@@ -35,6 +32,7 @@ setup( ...@@ -35,6 +32,7 @@ setup(
install_requires=[ install_requires=[
'setuptools', 'setuptools',
'bob.blitz', 'bob.blitz',
'bob.core',
'bob.math', 'bob.math',
'bob.io.base', 'bob.io.base',
'matplotlib', 'matplotlib',
...@@ -42,27 +40,28 @@ setup( ...@@ -42,27 +40,28 @@ setup(
namespace_packages=[ namespace_packages=[
"bob", "bob",
], ],
ext_modules = [ ext_modules = [
Extension("bob.measure.version", Extension("bob.measure.version",
[ [
"bob/measure/version.cpp", "bob/measure/version.cpp",
], ],
packages = packages, packages = packages,
version = version, version = version,
bob_packages = bob_packages, bob_packages = bob_packages,
), ),
Extension("bob.measure._library", Extension("bob.measure._library",
[ [
"bob/measure/error.cpp", "bob/measure/error.cpp",
"bob/measure/main.cpp", "bob/measure/main.cpp",
], ],
packages = packages, packages = packages,
version = version, version = version,
bob_packages = bob_packages, bob_packages = bob_packages,
), ),
], ],
entry_points={ entry_points={
'console_scripts': [ 'console_scripts': [
...@@ -70,8 +69,8 @@ setup( ...@@ -70,8 +69,8 @@ setup(
'bob_eval_threshold.py = bob.measure.script.eval_threshold:main', 'bob_eval_threshold.py = bob.measure.script.eval_threshold:main',
'bob_apply_threshold.py = bob.measure.script.apply_threshold:main', 'bob_apply_threshold.py = bob.measure.script.apply_threshold:main',
'bob_plot_cmc.py = bob.measure.script.plot_cmc:main', 'bob_plot_cmc.py = bob.measure.script.plot_cmc:main',
], ],
}, },
classifiers = [ classifiers = [
'Development Status :: 3 - Alpha', 'Development Status :: 3 - Alpha',
...@@ -81,6 +80,6 @@ setup( ...@@ -81,6 +80,6 @@ setup(
'Programming Language :: Python', 'Programming Language :: Python',
'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3',
'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Software Development :: Libraries :: Python Modules',
], ],
) )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment