[yoda-svn] r515 - in trunk/pyext: . yoda/include

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Fri Aug 3 03:22:12 BST 2012


Author: davemallows
Date: Fri Aug  3 03:22:12 2012
New Revision: 515

Log:
Fix broken build

Modified:
   trunk/pyext/setup.py.in
   trunk/pyext/yoda/include/Errors.pyx

Modified: trunk/pyext/setup.py.in
==============================================================================
--- trunk/pyext/setup.py.in	Fri Aug  3 03:14:44 2012	(r514)
+++ trunk/pyext/setup.py.in	Fri Aug  3 03:22:12 2012	(r515)
@@ -20,7 +20,7 @@
 def ext(name, depends=[], statics=[]):
     return Extension(
         '%s.%s' % (PKGNAME, name),
-        ['%s/%s.cpp' % (PKGNAME, name)] + statics,
+        ['%s/%s.pyx' % (PKGNAME, name)] + statics,
         language='c++',
         depends=depends,
         include_dirs=[incdir, PKGNAME, boostdir],

Modified: trunk/pyext/yoda/include/Errors.pyx
==============================================================================
--- trunk/pyext/yoda/include/Errors.pyx	Fri Aug  3 03:14:44 2012	(r514)
+++ trunk/pyext/yoda/include/Errors.pyx	Fri Aug  3 03:22:12 2012	(r515)
@@ -6,7 +6,7 @@
 
 # These are called from translate_yoda_error in errors.cpp
 
-cpdef public:
+cdef public:
     # Master exception
     object YodaExc_Exception = PyErr_NewException(
         "yoda.Exception", <object> NULL, <object> NULL)
@@ -34,4 +34,4 @@
         "yoda.UserError", YodaExc_Exception, <object> NULL)
 
 # Note that these don't appear in python space due to the cdef. What we will
-# have to do is use some magic to make these appear in Python space.
+# have to do is use some kind of magic to make these appear in Python space.


More information about the yoda-svn mailing list