VirusTotal / yara-python

The Python interface for YARA
http://virustotal.github.io/yara/
Apache License 2.0
646 stars 179 forks source link

Change setup.py to build hash module support on Windows #166

Closed joachimmetz closed 3 years ago

joachimmetz commented 3 years ago

MD5 support on Windows seems to be dependent on HAVE_WINCRYPT_H https://github.com/VirusTotal/yara/blob/99b3a6b877f7526cba25e05c573154c6d40e76e9/libyara/crypto.h#L58

However setup.py does not set HAVE_WINCRYPT_H when building on Windows

tested with yara-python 4.0.4

joachimmetz commented 3 years ago

Some change I made on my build machine https://github.com/VirusTotal/yara-python/pull/167 to build yara-python with hash module support on Windows

joachimmetz commented 3 years ago

since changes in https://github.com/VirusTotal/yara-python/pull/167 have been merged I think this can be closed now.