Permalink
Browse files

Update for Python2.6

  • Loading branch information...
1 parent 9344e2d commit 26a4558757c9b5b3846553b0366e57d53fd2b720 @maxinbjohn maxinbjohn committed Aug 11, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 libmtagmodule.c
  2. +2 −2 setup.py
View
@@ -1,7 +1,7 @@
#include <Python.h>
#include "structmember.h"
-#include <mtag.h>
+#include <libmtag/mtag.h>
static PyObject *MTagError;
View
@@ -8,9 +8,9 @@ def pkgconfig(*packages, **kw):
kw.setdefault(flag_map.get(token[:2]), []).append(token[2:])
return kw
-module1 = Extension('libmtag', ['libmtagmodule.c'], **pkgconfig('libmtag'))
+module1 = Extension('libmtag', libraries = ['mtag'], sources= ['libmtagmodule.c'])
setup (name = 'MTag',
version = '0.0.0',
- description = 'This is a demo package',
+ description = 'The python-mtag package',
ext_modules = [module1])

0 comments on commit 26a4558

Please sign in to comment.