Skip to content

Commit daaade4

Browse files
chris-b1TomAugspurger
authored andcommitted
BLD: include dll in package_data on Windows (#21321)
(cherry picked from commit 324b324)
1 parent 4807bce commit daaade4

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
@@ -129,3 +129,4 @@ Reshaping
129129
Other
130130

131131
- Tab completion on :class:`Index` in IPython no longer outputs deprecation warnings (:issue:`21125`)
132+
- 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)