Commits

Erik Bray  committed f551898

Use ensure_finalized() instead of finalize so that nothing that calls build_ext as a sub-command tries to re-finalize it.

  • Participants
  • Parent commits b2d2f90
  • Branches notebook-docs

Comments (0)

Files changed (1)

File setup_hooks.py

 
     # Re-finalize with the new extensions
     command_obj = command_obj.distribution.reinitialize_command(command_obj)
-    command_obj.finalize_options()
+    command_obj.ensure_finalized()
 
     if has_cython_extensions:
         command_obj.include_dirs.append(np.get_include())