Author: ArcRiley Date: 2008-04-22 05:06:37 -0400 (Tue, 22 Apr 2008) New Revision: 1250
Modified: trunk/pysoy/setup.py Log: setup.py now grabs un-generated .c files (ignores old soy.*.c's from Pyrex) Modified: trunk/pysoy/setup.py =================================================================== --- trunk/pysoy/setup.py 2008-04-22 09:01:33 UTC (rev 1249) +++ trunk/pysoy/setup.py 2008-04-22 09:06:37 UTC (rev 1250) @@ -73,7 +73,8 @@ for m in modules : sources = [] for pfile in os.listdir('src/%s/'%m) : - if os.path.splitext(pfile)[1] == '.pym' : + if os.path.splitext(pfile)[1] == '.pym' or ( + os.path.splitext(pfile)[1] == '.c' and pfile[:4] != 'soy.' ) : sources.append('src/%s/%s'%(m,pfile)) extensions.append(Extension( name=m, _______________________________________________ PySoy-SVN mailing list PySoy-SVN@pysoy.org http://www.pysoy.org/mailman/listinfo/pysoy-svn