Skip to content

Commit

Permalink
BLD: include dll in package_data on Windows (#21321)
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-b1 authored and jreback committed Jun 8, 2018
1 parent 8d5032a commit 324b324
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions doc/source/whatsnew/v0.23.1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -131,3 +131,4 @@ Bug Fixes
**Other**

- Tab completion on :class:`Index` in IPython no longer outputs deprecation warnings (:issue:`21125`)
- Bug preventing pandas being used on Windows without C++ redistributable installed (:issue:`21106`)
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,10 +453,10 @@ def pxd(name):
return pjoin('pandas', name + '.pxd')


# args to ignore warnings
if is_platform_windows():
extra_compile_args = []
else:
# args to ignore warnings
extra_compile_args = ['-Wno-unused-function']

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

0 comments on commit 324b324

Please sign in to comment.