@@ -461,13 +461,6 @@ def pxd(name):
461
461
return os .path .abspath (pjoin ('pandas' , name + '.pxd' ))
462
462
463
463
464
- if _have_setuptools :
465
- # Note: this is a list, whereas `numpy_incl` in build_ext.build_extensions
466
- # is a string
467
- numpy_incls = [pkg_resources .resource_filename ('numpy' , 'core/include' )]
468
- else :
469
- numpy_incls = []
470
-
471
464
# args to ignore warnings
472
465
if is_platform_windows ():
473
466
extra_compile_args = []
@@ -510,8 +503,7 @@ def pxd(name):
510
503
'depends' : _pxi_dep ['index' ],
511
504
'sources' : np_datetime_sources },
512
505
'_libs.indexing' : {
513
- 'pyxfile' : '_libs/indexing' ,
514
- 'include' : []},
506
+ 'pyxfile' : '_libs/indexing' },
515
507
'_libs.interval' : {
516
508
'pyxfile' : '_libs/interval' ,
517
509
'pxdfiles' : ['_libs/hashtable' ],
@@ -544,12 +536,10 @@ def pxd(name):
544
536
'include' : []},
545
537
'_libs.reshape' : {
546
538
'pyxfile' : '_libs/reshape' ,
547
- 'depends' : _pxi_dep ['reshape' ],
548
- 'include' : numpy_incls },
539
+ 'depends' : _pxi_dep ['reshape' ]},
549
540
'_libs.sparse' : {
550
541
'pyxfile' : '_libs/sparse' ,
551
- 'depends' : _pxi_dep ['sparse' ],
552
- 'include' : numpy_incls },
542
+ 'depends' : _pxi_dep ['sparse' ]},
553
543
'_libs.tslib' : {
554
544
'pyxfile' : '_libs/tslib' ,
555
545
'pxdfiles' : ['_libs/src/util' ,
@@ -590,7 +580,8 @@ def pxd(name):
590
580
'_libs/tslibs/frequencies' ]},
591
581
'_libs.tslibs.parsing' : {
592
582
'pyxfile' : '_libs/tslibs/parsing' ,
593
- 'include' : numpy_incls },
583
+ 'pxdfiles' : ['_libs/src/util' ,
584
+ '_libs/src/khash' ]},
594
585
'_libs.tslibs.resolution' : {
595
586
'pyxfile' : '_libs/tslibs/resolution' ,
596
587
'pxdfiles' : ['_libs/src/util' ,
@@ -614,16 +605,14 @@ def pxd(name):
614
605
'pyxfile' : '_libs/tslibs/timezones' ,
615
606
'pxdfiles' : ['_libs/src/util' ]},
616
607
'_libs.testing' : {
617
- 'pyxfile' : '_libs/testing' ,
618
- 'include' : []},
608
+ 'pyxfile' : '_libs/testing' },
619
609
'_libs.window' : {
620
610
'pyxfile' : '_libs/window' ,
621
611
'pxdfiles' : ['_libs/src/skiplist' , '_libs/src/util' ],
622
612
'depends' : ['pandas/_libs/src/skiplist.pyx' ,
623
613
'pandas/_libs/src/skiplist.h' ]},
624
614
'io.sas._sas' : {
625
- 'pyxfile' : 'io/sas/sas' ,
626
- 'include' : numpy_incls }}
615
+ 'pyxfile' : 'io/sas/sas' }}
627
616
628
617
extensions = []
629
618
0 commit comments