Commit 3d4f7a19 authored by Robert Bradshaw's avatar Robert Bradshaw Committed by GitHub

Merge pull request #1574 from cgohlke/master

Fix Includes/Deprecated not included in Windows wheels
parents eb8c3ee4 a974c6ff
...@@ -45,9 +45,11 @@ if sys.version_info[:2] == (3, 2): ...@@ -45,9 +45,11 @@ if sys.version_info[:2] == (3, 2):
add_command_class("build_py", build_py) add_command_class("build_py", build_py)
pxd_include_dirs = [ pxd_include_dirs = [
directory for directory, dirs, files in os.walk('Cython/Includes') directory for directory, dirs, files
in os.walk(os.path.join('Cython', 'Includes'))
if '__init__.pyx' in files or '__init__.pxd' in files if '__init__.pyx' in files or '__init__.pxd' in files
or directory == 'Cython/Includes' or directory == 'Cython/Includes/Deprecated'] or directory == os.path.join('Cython', 'Includes')
or directory == os.path.join('Cython', 'Includes', 'Deprecated')]
pxd_include_patterns = [ pxd_include_patterns = [
p+'/*.pxd' for p in pxd_include_dirs ] + [ p+'/*.pxd' for p in pxd_include_dirs ] + [
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment