WojciechMula / pyahocorasick

Python module (C extension and plain python) implementing Aho-Corasick algorithm
BSD 3-Clause "New" or "Revised" License
948 stars 125 forks source link

Failed to build from sdist with 1.1.15 #71

Closed pombredanne closed 6 years ago

pombredanne commented 6 years ago

https://ci.appveyor.com/project/pombreda/thirdparty/build/job/yp3w6bahsokx2swn

 creating build\temp.win32-3.6
  creating build\temp.win32-3.6\Release
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DAHOCORASICK_UNICODE= -IC:\Python36\include -IC:\Python36\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\winrt" /Tcpyahocorasick.c /Fobuild\temp.win32-3.6\Release\pyahocorasick.obj
  pyahocorasick.c
  c:\users\appveyor\appdata\local\temp\1\pip-build-mbzdwcr8\pyahocorasick\windows.h(14): fatal error C1083: Cannot open include file: 'msinttypes/stdint.h': No such file or directory
  error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\cl.exe' failed with exit status 2

  ----------------------------------------
  Failed building wheel for pyahocorasick
  Running setup.py clean for pyahocorasick
Failed to build pyahocorasick
ERROR: Failed to build one or more wheels

This is missing in the MANIFEST.in

WojciechMula commented 6 years ago

@pombredanne thank you for the fix

pombredanne commented 6 years ago

Sure thing!