Skip to content

Commit

Permalink
reenable Turbo/build_lib.sh in setup but wrap with a try
Browse files Browse the repository at this point in the history
  • Loading branch information
stenson committed Dec 11, 2024
1 parent cbe8cd3 commit 6347a73
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@

class build(_build):
def run(self):
if platform.system() == "Darwin" and False:
# Build our C library
subprocess.check_call(['./Turbo/build_lib.sh'])
_build.run(self)
if platform.system() == "Darwin":
try:
# Build our C library
subprocess.check_call(['./Turbo/build_lib.sh'])
_build.run(self)
except:
print("! Could not build turbo")


_versionRE = re.compile(r'__version__\s*=\s*\"([^\"]+)\"')
Expand Down

0 comments on commit 6347a73

Please sign in to comment.