From 381e68e28a4e677504062fd0325e693420477ea7 Mon Sep 17 00:00:00 2001
From: Manuel Guenther <manuel.guenther@idiap.ch>
Date: Wed, 20 May 2015 10:52:02 +0200
Subject: [PATCH] Removed duplicated constants from c module

---
 bob/io/base/main.cpp | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/bob/io/base/main.cpp b/bob/io/base/main.cpp
index 0588d7d..4499bf0 100644
--- a/bob/io/base/main.cpp
+++ b/bob/io/base/main.cpp
@@ -91,9 +91,6 @@ static PyObject* create_module (void) {
   auto m_ = make_safe(m);
 
   /* register some constants */
-  if (PyModule_AddIntConstant(m, "__api_version__", BOB_IO_BASE_API_VERSION) < 0) return 0;
-  if (PyModule_AddStringConstant(m, "__version__", BOB_EXT_MODULE_VERSION) < 0) return 0;
-
   if (!init_File(m)) return 0;
   if (!init_HDF5File(m)) return 0;
 
-- 
GitLab