Skip to content

Commit

Permalink
fix for mac build
Browse files Browse the repository at this point in the history
  • Loading branch information
cgcgcg committed Sep 16, 2023
1 parent d588d4c commit aa46cca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion base/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@

from shutil import copy
from pathlib import Path
from distutils.errors import CompileError

try:
import cython
except ImportError as e:
raise ImportError('PyNucleus requires \'Cython\'. Please install it.') from e
from Cython.Compiler.Errors import CompileError

try:
import numpy
Expand Down
1 change: 1 addition & 0 deletions nl/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import cython
except ImportError as e:
raise ImportError('PyNucleus requires \'Cython\'. Please install it.') from e
from Cython.Compiler.Errors import CompileError

try:
from PyNucleus_packageTools import package
Expand Down

0 comments on commit aa46cca

Please sign in to comment.