Skip to content

Commit

Permalink
CI: Push more wheels to pypi, document Mac compatibility issues
Browse files Browse the repository at this point in the history
  • Loading branch information
cookpa committed Aug 12, 2024
1 parent 5f550b8 commit 12f004d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Publish prep
if: ${{ (github.event_name == 'release') && (runner.os == 'Linux') }}
if: ${{ (github.event_name == 'release') }}
run: |
mywhl=`find ~/ -name "antspyx*.whl"`
extrawheeldir=`dirname $mywhl`
Expand Down
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,17 @@ pip install antspyx
```

Because of limited storage space, pip binaries are not available for every combination of python
version and platform. If we do not have releases for your platform on PyPI, you can check the
version and platform. We also have had to delete older releases to make space. If you
cannot find a binary you need on PyPI, you can check the
[Releases](https://github.com/antsx/antspy/releases) page for archived binaries.

Some Mac OS Python installations have compatibility issues with the pre-compiled
binaries. This means pip will not install binaries targeted for the current Mac OS
version, and will instead try to compile from source. The compatibility checks can be
disabled by setting the environment variable `SYSTEM_VERSION_COMPAT=0`. More details on
the [wiki](https://github.com/ANTsX/ANTsPy/wiki/MacOS-wheel-compatibility-issues).


### Building from source

In some scenarios, it can make sense to build from source. In general, you can build ANTsPy as you would any other Python package.
Expand Down

0 comments on commit 12f004d

Please sign in to comment.