@@ -207,6 +207,7 @@ def initialize_options(self):
207
207
base = pjoin ('pandas' ,'src' )
208
208
dt = pjoin (base ,'datetime' )
209
209
src = base
210
+ util = pjoin ('pandas' ,'util' )
210
211
parser = pjoin (base ,'parser' )
211
212
ujson_python = pjoin (base ,'ujson' ,'python' )
212
213
ujson_lib = pjoin (base ,'ujson' ,'lib' )
@@ -220,6 +221,7 @@ def initialize_options(self):
220
221
pjoin (ujson_python ,'JSONtoObj.c' ),
221
222
pjoin (ujson_lib ,'ultrajsonenc.c' ),
222
223
pjoin (ujson_lib ,'ultrajsondec.c' ),
224
+ pjoin (util ,'move.c' ),
223
225
]
224
226
225
227
for root , dirs , files in os .walk ('pandas' ):
@@ -476,7 +478,7 @@ def pxd(name):
476
478
extensions .extend ([testing_ext ])
477
479
478
480
#----------------------------------------------------------------------
479
- # msgpack stuff here
481
+ # msgpack
480
482
481
483
if sys .byteorder == 'big' :
482
484
macros = [('__BIG_ENDIAN__' , '1' )]
@@ -507,6 +509,9 @@ def pxd(name):
507
509
extensions .append (packer_ext )
508
510
extensions .append (unpacker_ext )
509
511
512
+ #----------------------------------------------------------------------
513
+ # ujson
514
+
510
515
if suffix == '.pyx' and 'setuptools' in sys .modules :
511
516
# undo dumb setuptools bug clobbering .pyx sources back to .c
512
517
for ext in extensions :
@@ -532,10 +537,12 @@ def pxd(name):
532
537
533
538
extensions .append (ujson_ext )
534
539
540
+ #----------------------------------------------------------------------
541
+ # util
535
542
# extension for pseudo-safely moving bytes into mutable buffers
536
543
_move_ext = Extension ('pandas.util._move' ,
537
544
depends = [],
538
- sources = ['pandas/util/_move .c' ])
545
+ sources = ['pandas/util/move .c' ])
539
546
extensions .append (_move_ext )
540
547
541
548
0 commit comments