Skip to content

Commit b04ee05

Browse files
committed
BLD: rename _move.c -> move.c; add to clean exclude
1 parent 22cf50b commit b04ee05

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed
File renamed without changes.

setup.py

+9-2
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ def initialize_options(self):
207207
base = pjoin('pandas','src')
208208
dt = pjoin(base,'datetime')
209209
src = base
210+
util = pjoin('pandas','util')
210211
parser = pjoin(base,'parser')
211212
ujson_python = pjoin(base,'ujson','python')
212213
ujson_lib = pjoin(base,'ujson','lib')
@@ -220,6 +221,7 @@ def initialize_options(self):
220221
pjoin(ujson_python,'JSONtoObj.c'),
221222
pjoin(ujson_lib,'ultrajsonenc.c'),
222223
pjoin(ujson_lib,'ultrajsondec.c'),
224+
pjoin(util,'move.c'),
223225
]
224226

225227
for root, dirs, files in os.walk('pandas'):
@@ -476,7 +478,7 @@ def pxd(name):
476478
extensions.extend([testing_ext])
477479

478480
#----------------------------------------------------------------------
479-
# msgpack stuff here
481+
# msgpack
480482

481483
if sys.byteorder == 'big':
482484
macros = [('__BIG_ENDIAN__', '1')]
@@ -507,6 +509,9 @@ def pxd(name):
507509
extensions.append(packer_ext)
508510
extensions.append(unpacker_ext)
509511

512+
#----------------------------------------------------------------------
513+
# ujson
514+
510515
if suffix == '.pyx' and 'setuptools' in sys.modules:
511516
# undo dumb setuptools bug clobbering .pyx sources back to .c
512517
for ext in extensions:
@@ -532,10 +537,12 @@ def pxd(name):
532537

533538
extensions.append(ujson_ext)
534539

540+
#----------------------------------------------------------------------
541+
# util
535542
# extension for pseudo-safely moving bytes into mutable buffers
536543
_move_ext = Extension('pandas.util._move',
537544
depends=[],
538-
sources=['pandas/util/_move.c'])
545+
sources=['pandas/util/move.c'])
539546
extensions.append(_move_ext)
540547

541548

0 commit comments

Comments
 (0)