capitalone / giraffez

User-friendly Teradata client for Python
https://capitalone.github.io/giraffez
Apache License 2.0
108 stars 35 forks source link

Problem with install on Windows #41

Closed SimaoRodrigo closed 6 years ago

SimaoRodrigo commented 6 years ago

When I wan't to upgrade giraffez by pip: pip install --upgrade giraffez

I've got an error: c:\temp\pip-build-sjcz246m\giraffez\giraffez\src\common.h(34): fatal error C1083: Couldn't open file: '_strptime.c': No such file or directory.

It is not happening when I clone repo from git.

ChrisRx commented 6 years ago

It would appear that because distutils does not detect that the _strptime.c is being compiled that it does not include it, and it is the only file with a .c extension that isn't being directly compiled (rather it is included in other C files). The fix here should be pretty easy, just adding it to MANIFEST.in. Look for a fix soon today in version 2.0.17, as well as, Windows wheels being refreshed so that when you pip install it shouldn't even have to compile it on Windows.

SimaoRodrigo commented 6 years ago

Retest ok. Thanks a lot.

Cheers