Skip to content
Snippets Groups Projects
Commit 26b37aef authored by Blaß, Michael's avatar Blaß, Michael :speech_balloon:
Browse files

Fixed setup bug for real.

parent 652fe2cb
No related branches found
No related tags found
No related merge requests found
...@@ -132,18 +132,18 @@ CA_Methods[] = { ...@@ -132,18 +132,18 @@ CA_Methods[] = {
}; };
static struct PyModuleDef static struct PyModuleDef
chains_addiction_module = { chainsaddiction_module = {
PyModuleDef_HEAD_INIT, PyModuleDef_HEAD_INIT,
"chains_addiction", "chainsaddiction",
NULL, NULL,
-1, -1,
CA_Methods CA_Methods
}; };
PyMODINIT_FUNC PyMODINIT_FUNC
PyInit_chains_addiction (void) PyInit_chainsaddiction (void)
{ {
import_array (); import_array ();
return PyModule_Create (&chains_addiction_module); return PyModule_Create (&chainsaddiction_module);
} }
...@@ -11,7 +11,7 @@ setup( ...@@ -11,7 +11,7 @@ setup(
include_dirs = get_numpy_include_dirs(), include_dirs = get_numpy_include_dirs(),
ext_modules = [ ext_modules = [
Extension( Extension(
'chains_addiction', 'chainsaddiction',
sources = [ 'hmm/stats.c', sources = [ 'hmm/stats.c',
'hmm/fwbw.c', 'hmm/fwbw.c',
'hmm/em.c', 'hmm/em.c',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment