diff options
| author | Donald Stufft <donald@stufft.io> | 2013-05-10 23:58:04 -0400 |
|---|---|---|
| committer | Donald Stufft <donald@stufft.io> | 2013-05-10 23:58:04 -0400 |
| commit | 5dbd3c2425bc271f4497101735f73ee289f96b80 (patch) | |
| tree | 6be06c30a57e1d76b2b7fa7de207c223aad3fccb /bcrypt | |
| parent | 3fcd0cd5ead97f1ee5e04f0403baa235f16874d0 (diff) | |
| download | py-bcrypt-git-5dbd3c2425bc271f4497101735f73ee289f96b80.tar.gz | |
Use native strings to the CFFI verifier
Diffstat (limited to 'bcrypt')
| -rw-r--r-- | bcrypt/__init__.py | 10 |
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)] ) |
