Skip to content

Commit

Permalink
use apt
Browse files Browse the repository at this point in the history
  • Loading branch information
gmweaver committed Jun 5, 2024
1 parent c370522 commit a1a6801
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
env:
CIBW_BEFORE_ALL_LINUX: yum install -y autoconf automake curl libtool sudo
CIBW_BEFORE_ALL_LINUX: apt install -y autoconf automake curl libtool sudo
CIBW_BEFORE_ALL_MACOS: brew install autoconf automake curl libtool pkg-config

- uses: actions/upload-artifact@v4
Expand Down
3 changes: 0 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import ctypes.util
import platform
import subprocess
import tempfile

Expand All @@ -13,8 +12,6 @@ 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

0 comments on commit a1a6801

Please sign in to comment.