Fix os/sys typo and use an absolute path on *nix too

This commit is contained in:
Joe Rickerby
2017-04-10 22:41:08 +01:00
parent 7a2e951f48
commit 89c8735719
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
{
"CIBW_BEFORE_BUILD": "{python} -c \"import sys; open('pythonversion.txt', 'w').write(sys.version)\"",
"CIBW_BEFORE_BUILD": "{python} -c \"import sys; open('/tmp/pythonversion.txt', 'w').write(sys.version)\"",
"CIBW_BEFORE_BUILD_WINDOWS": "{python} -c \"import sys; open('c:\\pythonversion.txt', 'w').write(sys.version)\""
}