Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.learn.activation
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
Model registry
Operate
Environments
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.learn.activation
Commits
29d5ab73
Commit
29d5ab73
authored
11 years ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
Main library now compiling
parent
637ca5d4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
setup.py
+3
-2
3 additions, 2 deletions
setup.py
xbob/machine/include/xbob.machine/api.h
+0
-2
0 additions, 2 deletions
xbob/machine/include/xbob.machine/api.h
xbob/machine/main.cpp
+5
-1
5 additions, 1 deletion
xbob/machine/main.cpp
with
8 additions
and
5 deletions
setup.py
+
3
−
2
View file @
29d5ab73
...
...
@@ -4,13 +4,14 @@
# Mon 16 Apr 08:18:08 2012 CEST
from
setuptools
import
setup
,
find_packages
,
dist
dist
.
Distribution
(
dict
(
setup_requires
=
[
'
xbob.blitz
'
]))
dist
.
Distribution
(
dict
(
setup_requires
=
[
'
xbob.blitz
'
,
'
xbob.io
'
]))
from
xbob.blitz.extension
import
Extension
import
xbob.io
import
os
package_dir
=
os
.
path
.
dirname
(
os
.
path
.
realpath
(
__file__
))
package_dir
=
os
.
path
.
join
(
package_dir
,
'
xbob
'
,
'
machine
'
,
'
include
'
)
include_dirs
=
[
package_dir
]
include_dirs
=
[
package_dir
,
xbob
.
io
.
get_include
()
]
packages
=
[
'
bob-machine >= 1.3
'
]
version
=
'
2.0.0a0
'
...
...
This diff is collapsed.
Click to expand it.
xbob/machine/include/xbob.machine/api.h
+
0
−
2
View file @
29d5ab73
...
...
@@ -88,8 +88,6 @@ typedef struct {
# endif
# endif
static
void
**
PyXbobMachine_API
;
/**************
* Versioning *
**************/
...
...
This diff is collapsed.
Click to expand it.
xbob/machine/main.cpp
+
5
−
1
View file @
29d5ab73
...
...
@@ -5,10 +5,14 @@
* @brief Bindings to bob::machine
*/
#define XBOB_MACHINE_MODULE
#include
<xbob.machine/api.h>
#ifdef NO_IMPORT_ARRAY
#undef NO_IMPORT_ARRAY
#endif
#include
<xbob.machine/api.h>
#include
<xbob.blitz/capi.h>
#include
<xbob.io/api.h>
static
PyMethodDef
library_methods
[]
=
{
{
0
}
/* Sentinel */
...
...
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