Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.io.base
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.io.base
Commits
a836f7e4
Commit
a836f7e4
authored
10 years ago
by
Manuel Günther
Browse files
Options
Downloads
Patches
Plain Diff
Switched to new bob.extension version.
parent
39ea1a69
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bob/io/base/version.cpp
+1
-1
1 addition, 1 deletion
bob/io/base/version.cpp
setup.py
+14
-24
14 additions, 24 deletions
setup.py
with
15 additions
and
25 deletions
bob/io/base/version.cpp
+
1
−
1
View file @
a836f7e4
...
...
@@ -114,7 +114,7 @@ static PyObject* bob_blitz_version() {
* bob.core c/c++ api version
*/
static
PyObject
*
bob_core_version
()
{
return
Py_BuildValue
(
"{ss}"
,
"api"
,
BOOST_PP_STRINGIZE
(
BOB_
BLITZ
_API_VERSION
));
return
Py_BuildValue
(
"{ss}"
,
"api"
,
BOOST_PP_STRINGIZE
(
BOB_
CORE
_API_VERSION
));
}
static
PyObject
*
build_version_dictionary
()
{
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
14
−
24
View file @
a836f7e4
...
...
@@ -8,10 +8,6 @@ dist.Distribution(dict(setup_requires=['bob.blitz', 'bob.core']))
from
bob.extension.utils
import
egrep
,
find_header
,
find_library
from
bob.blitz.extension
import
Extension
,
Library
,
build_ext
import
os
package_dir
=
os
.
path
.
dirname
(
os
.
path
.
realpath
(
__file__
))
target_dir
=
os
.
path
.
join
(
package_dir
,
'
bob
'
,
'
io
'
,
'
base
'
)
version
=
'
2.0.0a0
'
def
libhdf5_version
(
header
):
...
...
@@ -113,13 +109,9 @@ class hdf5:
hdf5_pkg
=
hdf5
()
extra_compile_args
=
[
'
-isystem
'
,
hdf5_pkg
.
include_directory
,
]
system_include_dirs
=
[
hdf5_pkg
.
include_directory
]
library_dirs
=
[
hdf5_pkg
.
library_directory
,
]
library_dirs
=
[
hdf5_pkg
.
library_directory
]
libraries
=
hdf5_pkg
.
libraries
...
...
@@ -150,22 +142,22 @@ setup(
namespace_packages
=
[
"
bob
"
,
"
bob.io
"
,
],
],
ext_modules
=
[
Extension
(
"
bob.io.base.version
"
,
[
"
bob/io/base/version.cpp
"
,
],
],
define_macros
=
define_macros
,
extra_compile_args
=
extra_compile_arg
s
,
system_include_dirs
=
system_include_dir
s
,
version
=
version
,
bob_packages
=
[
'
bob.core
'
],
packages
=
[
'
boost
'
],
boost_modules
=
[
'
system
'
,
'
filesystem
'
],
),
Library
(
"
bob_io_base
"
,
Library
(
"
bob
.io.base.bob
_io_base
"
,
[
"
bob/io/base/cpp/CodecRegistry.cpp
"
,
"
bob/io/base/cpp/CSVFile.cpp
"
,
...
...
@@ -187,11 +179,9 @@ setup(
"
bob/io/base/cpp/array_type.cpp
"
,
"
bob/io/base/cpp/blitz_array.cpp
"
,
],
package_directory
=
package_dir
,
target_directory
=
target_dir
,
libraries
=
libraries
,
library_dirs
=
library_dirs
,
include_dirs
=
[
hdf5_pkg
.
include_dir
ectory
]
,
system_
include_dirs
=
system_
include_dir
s
,
define_macros
=
define_macros
,
version
=
version
,
bob_packages
=
[
'
bob.core
'
,
'
bob.blitz
'
],
...
...
@@ -206,17 +196,17 @@ setup(
"
bob/io/base/file.cpp
"
,
"
bob/io/base/hdf5.cpp
"
,
"
bob/io/base/main.cpp
"
,
],
],
library_dirs
=
library_dirs
,
libraries
=
libraries
+
[
'
bob_io_base
'
]
,
libraries
=
libraries
,
define_macros
=
define_macros
,
extra_compile_args
=
extra_compile_arg
s
,
system_include_dirs
=
system_include_dir
s
,
version
=
version
,
bob_packages
=
[
'
bob.core
'
],
packages
=
[
'
boost
'
],
boost_modules
=
[
'
system
'
,
'
filesystem
'
],
),
],
),
],
cmdclass
=
{
'
build_ext
'
:
build_ext
...
...
@@ -230,6 +220,6 @@ setup(
'
Programming Language :: Python
'
,
'
Programming Language :: Python :: 3
'
,
'
Topic :: Software Development :: Libraries :: Python Modules
'
,
],
],
)
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment