History

python/ext/aubiomodule.c: add aubio._aubio.__version__, import as aubio.version

Paul Brossier committed 9 years ago

Commit 883b4991 parent 911bea82 files · +3 −1Browse files

Showing the changes to python/ext (1 of 2 files). Show all

Unified · Split

python/ext/aubiomodule.c+1−0
@@ -323,6 +323,7 @@ initaubio (void) · 322 unmodified lines
323323 PyModule_AddObject (m, "sink", (PyObject *) & Py_sinkType);
324324
325325 PyModule_AddStringConstant(m, "float_type", AUBIO_NPY_SMPL_STR);
326+ PyModule_AddStringConstant(m, "__version__", AUBIO_VERSION);
326327
327328 // add generated objects
328329 add_generated_objects(m);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t