Skip to content

Commit 324b324

Browse files
chris-b1jreback
authored andcommitted
BLD: include dll in package_data on Windows (#21321)
1 parent 8d5032a commit 324b324

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

doc/source/whatsnew/v0.23.1.txt

+1
Original file line numberDiff line numberDiff line change
@@ -131,3 +131,4 @@ Bug Fixes
131131
**Other**
132132

133133
- Tab completion on :class:`Index` in IPython no longer outputs deprecation warnings (:issue:`21125`)
134+
- Bug preventing pandas being used on Windows without C++ redistributable installed (:issue:`21106`)

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -453,10 +453,10 @@ def pxd(name):
453453
return pjoin('pandas', name + '.pxd')
454454

455455

456-
# args to ignore warnings
457456
if is_platform_windows():
458457
extra_compile_args = []
459458
else:
459+
# args to ignore warnings
460460
extra_compile_args = ['-Wno-unused-function']
461461

462462
lib_depends = lib_depends + ['pandas/_libs/src/numpy_helper.h',
@@ -733,7 +733,7 @@ def pxd(name):
733733
maintainer=AUTHOR,
734734
version=versioneer.get_version(),
735735
packages=find_packages(include=['pandas', 'pandas.*']),
736-
package_data={'': ['data/*', 'templates/*'],
736+
package_data={'': ['data/*', 'templates/*', '_libs/*.dll'],
737737
'pandas.tests.io': ['data/legacy_hdf/*.h5',
738738
'data/legacy_pickle/*/*.pickle',
739739
'data/legacy_msgpack/*/*.msgpack',

0 commit comments

Comments
 (0)