Skip to content

Commit

Permalink
update for v0.6.4
Browse files Browse the repository at this point in the history
  • Loading branch information
wojdyr committed Dec 19, 2023
1 parent 6c5f13b commit fbe1047
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 9 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,20 @@ jobs:
include:
- os: ubuntu-22.04
arch: "x86_64"
- os: windows-2019
- os: windows-2022
arch: "AMD64"
- os: macos-11
arch: "x86_64 arm64"

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Build wheels
uses: pypa/cibuildwheel@v2.15.0
uses: pypa/cibuildwheel@v2.16.2
env:
CIBW_BUILD: ${{ github.event.inputs.cibw_build }}
CIBW_SKIP: ${{ github.event.inputs.cibw_skip }}
CIBW_ARCHS: "${{ matrix.arch }}"
# increase pip debugging output
CIBW_BUILD_VERBOSITY: 1

- run: ls -lh wheelhouse
shell: bash
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
*.whl
*.tar.gz
.*.swp
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ include(FetchContent)
FetchContent_Declare(
gemmi
GIT_REPOSITORY https://github.com/project-gemmi/gemmi.git
GIT_TAG 28b5670ec176c6df7dbb765aab0a1c12698a5d23 # v0.6.3
GIT_TAG v0.6.4
#GIT_TAG master
GIT_SHALLOW TRUE
)

# We don't want to install all gemmi files.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ because, unlike the module, it does not depend on Python version.
* git push changes to build wheels in [GitHub Actions][1]
* download the wheels, check them, upload sdist and wheels to PyPI:

twine upload dist/gemmi-program-$VERSION.tar.gz
twine upload dist/gemmi_program-$VERSION.tar.gz
twine upload wheels/gemmi_program-$VERSION-*.whl

[1]: https://github.com/project-gemmi/gemmi_program_wheel/actions
8 changes: 6 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[build-system]
requires = ["scikit-build-core==0.5.0"]
requires = ["scikit-build-core==0.7.0"]
build-backend = "scikit_build_core.build"

[project]
name = "gemmi-program"
version = "0.6.3"
version = "0.6.4"
requires-python = ">=3.8"
description="gemmi (program executable only)"
readme = "README.md"
Expand All @@ -23,3 +23,7 @@ wheel.py-api = "py2.py3" # python version is irrelevant
wheel.expand-macos-universal-tags = true # not sure about this one
cmake.build-type = "Release"
#logging.level = "DEBUG"

[tool.cibuildwheel]
build-verbosity = 1
test-command = "gemmi --version --verbose"

0 comments on commit fbe1047

Please sign in to comment.