jd-boyd / python-lzo

Python bindings for the LZO data compression library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LZO_DIR vs CURL_DIR

totaam opened this issue · comments

Clearly the setup.py never got tested on win32, and it must have been copied from the one for curl.
Since it relies on knowing where the source is, I think it wouldn't hurt to add:

if not os.path.exists(LZO_DIR):
    raise Exception("please set LZO_DIR to where the lzo source lives")

I have fixed the CURL_DIR references and added your suggested check. However, I still haven't tested this on win32. If you want to test it, that would be appreciated.

Windows support will likely remain untested by me until TravisCI supports windows.