Skip to content

Commit dc5508f

Browse files
authored
Merge pull request #332 from abergeron/install
FIx the install of the headers (hopefully!).
2 parents 25aa812 + ebc7b17 commit dc5508f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,10 @@ def __init__(self, *args, **kwargs):
139139
version=FULLVERSION,
140140
description='numpy-like wrapper on libgpuarray for GPU computations',
141141
packages=['pygpu', 'pygpu/tests'],
142-
data_files=[('pygpu', ['pygpu/gpuarray.h', 'pygpu/gpuarray_api.h',
143-
'pygpu/blas_api.h', 'pygpu/numpy_compat.h',
144-
'pygpu/collectives.h', 'pygpu/collectives_api.h'])],
142+
include_package_data=True,
143+
package_data={'pygpu': ['gpuarray.h', 'gpuarray_api.h',
144+
'blas_api.h', 'numpy_compat.h',
145+
'collectives.h', 'collectives_api.h']},
145146
ext_modules=cythonize(exts),
146147
install_requires=['mako>=0.7'],
147148
)

0 commit comments

Comments
 (0)