tjguk / wmi

102 stars 29 forks source link

setup.py in 1.5 is broken #8

Open CMTaylor opened 4 years ago

CMTaylor commented 4 years ago

This error: File "c:\users\jenkins\appdata\local\temp\pip-build-3hcn7k\wmi\setup.py", line 20, in with open(os.path.join(base_dir, "wmi.py"), encoding="utf8") as f: TypeError: 'encoding' is an invalid keyword argument for this function

is caused by line 20 in the updated setup.py file.

tjguk commented 4 years ago

Thanks for the report. In my rush to get something out, I hadn't tested the install on Py2. I believe it's fixed now in v1.5.1. Please try again.

(For some reason, PyPI seemed to be giving me 1.5 only unless I specified the version. I'm assuming that's just some kind of cacheing effect for now; if it persists I'll try to dig into it further)