Skip to content

Commit

Permalink
Another multi-line output fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mhsmith committed Jul 17, 2023
1 parent 2d36017 commit 6fd170a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 7 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Download target Python builds
run: |
cd target
for version in ${{ steps.python-versions.outputs.long }}; do
echo "${{ steps.python-versions.outputs.long }}" | while read version; do
./download-and-unpackage.sh prefix $version
done
Expand Down Expand Up @@ -72,4 +72,3 @@ jobs:

# runs-on: ${{ matrix.os }}-latest
# steps:
# - FIXME
20 changes: 15 additions & 5 deletions product/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,32 @@ This file contains instructions for building and testing Chaquopy.

# Build prerequisites

* A Python executable for each supported version of Python. This must be on the PATH as
`pythonX.Y` on Unix, or `py -X.Y` on Windows.
* Android Python headers and libraries in target/prefix. These can be installed using
target/download-and-unpackage.sh, as shown in ci.yml.
* A local Python installation for each Python version suported by Chaquopy (list them
with `target/list-versions.py --short`). These must be on the PATH as `pythonX.Y` on
Unix, or `py -X.Y` on Windows.

* Android Python headers and libraries in target/prefix. These can be installed as
follows:

cd target
for version in $(./list-versions.py --long); do
./download-and-unpackage.sh prefix $version
done

* Python requirements from runtime/requirements-build.txt. In particular, `cython` must be
on the PATH.

* Android SDK. Set the `ANDROID_HOME` environment variable to point at its location, and
install the following packages:
* CMake: version from `sdkCmakeDir` in runtime/build.gradle.
* NDK (side by side): version from `ndkDir` in runtime/build.gradle.
* SDK Platform: version from `COMPILE_SDK_VERSION` in
buildSrc/src/main/java/com/chaquo/python/Common.java.

* JDK version 8. Create a `local.properties` file in `product` (i.e. the same directory
as this README), setting the JDK location as follows:

chaquopy.java.home.8=<path>
chaquopy.java.home.8=<path>

# Build

Expand Down

0 comments on commit 6fd170a

Please sign in to comment.