summaryrefslogtreecommitdiff
path: root/bcrypt
diff options
context:
space:
mode:
authorDonald Stufft <donald@stufft.io>2013-05-10 23:58:04 -0400
committerDonald Stufft <donald@stufft.io>2013-05-10 23:58:04 -0400
commit5dbd3c2425bc271f4497101735f73ee289f96b80 (patch)
tree6be06c30a57e1d76b2b7fa7de207c223aad3fccb /bcrypt
parent3fcd0cd5ead97f1ee5e04f0403baa235f16874d0 (diff)
downloadpy-bcrypt-git-5dbd3c2425bc271f4497101735f73ee289f96b80.tar.gz
Use native strings to the CFFI verifier
Diffstat (limited to 'bcrypt')
-rw-r--r--bcrypt/__init__.py10
1 files 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)]
)