Skip to content
Snippets Groups Projects
Commit 29d5ab73 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Main library now compiling

parent 637ca5d4
No related branches found
No related tags found
No related merge requests found
......@@ -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'
......
......@@ -88,8 +88,6 @@ typedef struct {
# endif
# endif
static void **PyXbobMachine_API;
/**************
* Versioning *
**************/
......
......@@ -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 */
......
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