Skip to content
This repository was archived by the owner on Apr 3, 2023. It is now read-only.

Commit 459bfca

Browse files
committed
Merge branch 'dev' into 3.9
2 parents d9240ab + 384defb commit 459bfca

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

.github/workflows/release.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ jobs:
3939
release_name: ${{ github.ref }}
4040
draft: true
4141
prerelease: false
42+
body: |
43+
Build ${{ env.BUILD_NUMBER }} of the BeeWare support package for Python ${{ env.PY_VERSION }}.
44+
45+
Includes:
46+
* Python ${{ env.PY_VERSION }}.?
4247
- name: Upload Release Asset to Github
4348
uses: actions/upload-release-asset@v1
4449
env:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ FROM ubuntu:18.04
66
# Install the build requirements for Python.
77
RUN apt-get update -y && \
88
apt-get install -y \
9-
gcc make curl \
9+
gcc make patchelf curl \
1010
libbz2-dev \
1111
libffi-dev \
1212
libgdbm-compat-dev \

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ build/python/bin/python$(PYTHON_VER): build/Python-$(PYTHON_VERSION)/python.exe
7878
cd build/Python-$(PYTHON_VERSION) && \
7979
make install \
8080
2>&1 | tee -a ../python-$(PYTHON_VERSION).install.log
81+
# Make the binary and libpython3.so relocatable
82+
patchelf --set-rpath "\$$ORIGIN/../lib" build/python/bin/python$(PYTHON_VER)
83+
patchelf --set-rpath "\$$ORIGIN" build/python/lib/libpython3.so
8184

8285
build/python/VERSIONS: dependencies
8386
echo "Python version: $(PYTHON_VERSION) " > build/python/VERSIONS

0 commit comments

Comments
 (0)