Commits

Stefano Rivera committed 70f2aa4

Create lib_dir if it doesn't exist

  • Participants
  • Parent commits 7e2fb85
  • Branches split-verify

Comments (0)

Files changed (1)

File cffi/packaging.py

     def build_extension(self, ext):
         if isinstance(ext, FFIExtension):
             files = ext.ffi_builder(self.build_temp)
+            if not os.path.isdir(self.build_lib):
+                os.mkdir(self.build_lib)
             for name in files:
                 self.copy_file(
                     os.path.join(self.build_temp, name),