@@ -274,22 +274,30 @@ def run(self):
274
274
cmdclass ['build_ext' ] = build_ext
275
275
cmdclass ['sdist' ] = CheckSDist
276
276
277
- tseries_depends = ['reindex' , 'io' , 'common' , 'groupby'
278
- 'skiplist' , 'isnull' , 'moments' , 'operators' ]
279
-
277
+ tseries_depends = ['reindex' , 'groupby' , 'skiplist' , 'moments' ,
278
+ 'generated' , 'parsing' ]
280
279
def srcpath (name = None , suffix = '.pyx' , subdir = 'src' ):
281
280
return pjoin ('pandas' , subdir , name + suffix )
282
281
282
+ if suffix == '.pyx' :
283
+ tseries_depends = [srcpath (f , suffix = '.pyx' )
284
+ for f in tseries_depends ]
285
+ else :
286
+ tseries_depends = None
287
+
288
+ print tseries_depends
289
+
283
290
tseries_ext = Extension ('pandas._tseries' ,
291
+ depends = tseries_depends ,
284
292
sources = [srcpath ('tseries' , suffix = suffix )],
285
- # depends=[srcpath(f, suffix='.pyx')
286
- # for f in tseries_depends],
287
293
include_dirs = [np .get_include ()])
294
+
288
295
sparse_ext = Extension ('pandas._sparse' ,
289
296
sources = [srcpath ('sparse' , suffix = suffix )],
290
297
include_dirs = [np .get_include ()])
291
298
extensions = [tseries_ext ,
292
299
sparse_ext ]
300
+
293
301
# if _have_setuptools:
294
302
# setuptools_args["test_suite"] = "nose.collector"
295
303
0 commit comments