Skip to content

Commit

Permalink
print machine
Browse files Browse the repository at this point in the history
  • Loading branch information
gmweaver committed Jun 5, 2024
1 parent 8784a68 commit 758d1f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import ctypes.util
import platform
import subprocess
import tempfile

Expand All @@ -12,6 +13,8 @@ def _libpostal_installed() -> bool:

def _install_libpostal() -> None:
"""Installs libpostal."""
print(f"Architecture = {platform.machine()}")

with tempfile.TemporaryDirectory() as tempdir:
subprocess.run(["./install_libpostal.sh", tempdir], check=True)

Expand Down
Binary file not shown.

0 comments on commit 758d1f1

Please sign in to comment.