From 5dbd3c2425bc271f4497101735f73ee289f96b80 Mon Sep 17 00:00:00 2001 From: Donald Stufft Date: Fri, 10 May 2013 23:58:04 -0400 Subject: [PATCH] Use native strings to the CFFI verifier --- bcrypt/__init__.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bcrypt/__init__.py b/bcrypt/__init__.py index 28c0378..a166d71 100644 --- a/bcrypt/__init__.py +++ b/bcrypt/__init__.py @@ -40,13 +40,13 @@ _ffi.cdef(""" _bcrypt_lib = _ffi.verify('#include "ow-crypt.h"', sources=[ - os.path.join(_bundled_dir, "crypt_blowfish.c"), - os.path.join(_bundled_dir, "crypt_gensalt.c"), - os.path.join(_bundled_dir, "wrapper.c"), + str(os.path.join(_bundled_dir, "crypt_blowfish.c")), + str(os.path.join(_bundled_dir, "crypt_gensalt.c")), + str(os.path.join(_bundled_dir, "wrapper.c")), # How can we get distutils to work with a .S file? - # os.path.join(_bundled_dir, "x86.S"), + # str(os.path.join(_bundled_dir, "x86.S")), ], - include_dirs=[_bundled_dir] + include_dirs=[str(_bundled_dir)] )