Skip to content

Commit

Permalink
Merge pull request #8 from MikeMoore63/feat/updatecibuildwheeladdosxa…
Browse files Browse the repository at this point in the history
…rm64

feat: add windows shared library for versions for cpython
  • Loading branch information
MikeMoore63 authored Jul 16, 2024
2 parents 509d8ee + 38dc6c5 commit 2ce0355
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04, macos-12, macos-14]
os: [ubuntu-latest, windows-latest, macos-13, macos-14]

steps:
- uses: actions/checkout@v4
Expand Down
10 changes: 2 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[tool.cibuildwheel.windows]
archs=["AMD64"]
before-all = "powershell {project}\\installGo.ps1"
skip = "cp36-win*"
skip = "cp36-win* cp37-win* pp*-win*"
environment= """
PATH="C:\\Go\\bin;C:\\Program Files\\Go\\bin;$PATH"
GOPATH="C:\\Go"
Expand Down Expand Up @@ -32,24 +32,18 @@ then
yum install -y golang
fi
'''
environment = """
CC=gcc
CGO_ENABLED=1
"""

[tool.cibuildwheel.macos]
before-all = '''
brew install [email protected]
'''
environment = "PATH=/opt/homebrew/opt/[email protected]/bin:$PATH"
environment = "PATH=/usr/local/opt/[email protected]/bin:/opt/homebrew/opt/[email protected]/bin:$PATH"

[[tool.cibuildwheel.overrides]]
select = "*-musllinux*"
before-all = "wget https://golang.org/dl/go1.21.1.linux-amd64.tar.gz;tar -C /usr/local -xzf go1.21.1.linux-amd64.tar.gz"
environment = """
PATH=$PATH:/usr/local/go/bin
CGO_ENABLED=1
CC=gcc
"""


Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = pyrpmdb
version = 0.1.21
version = 0.1.22
author = Mike Moore
author_email = [email protected]
license = MIT
Expand Down

0 comments on commit 2ce0355

Please sign in to comment.