Skip to content

Commit cbc8b79

Browse files
committed
BLD: fix plib build, depend on ultrajson.h
1 parent edcb0c8 commit cbc8b79

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

setup.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -377,10 +377,10 @@ def srcpath(name=None, suffix='.pyx', subdir='src'):
377377
)
378378

379379
period_ext = Extension('pandas._period',
380-
depends=plib_depends + ['pandas/src/numpy_helper.h'],
380+
depends=plib_depends + ['pandas/src/numpy_helper.h',
381+
'pandas/src/period.h'],
381382
sources=[srcpath('plib', suffix=suffix),
382383
'pandas/src/datetime/np_datetime.c',
383-
'pandas/src/period.h',
384384
'pandas/src/period.c'],
385385
include_dirs=[np.get_include()])
386386

@@ -390,6 +390,7 @@ def srcpath(name=None, suffix='.pyx', subdir='src'):
390390
include_dirs=[np.get_include()])
391391

392392
ujson_ext = Extension('pandas._ujson',
393+
depends=['pandas/src/ujson/lib/ultrajson.h'],
393394
sources=['pandas/src/ujson/python/ujson.c',
394395
'pandas/src/ujson/python/objToJSON.c',
395396
'pandas/src/ujson/python/JSONtoObj.c',

0 commit comments

Comments
 (0)