Không có mô tả

Valentin Niess 34b1aad8f7 Bundle pip in the base Python AppImages 5 năm trước cách đây
.github 999fcf8083 Clean the CLI, applications workflow & README 5 năm trước cách đây
applications 44f9af2cd9 Update appstream meta & disable checks 5 năm trước cách đây
python_appimage 34b1aad8f7 Bundle pip in the base Python AppImages 5 năm trước cách đây
.gitignore 83ee9e5f0c Relocate local and manylinux under a build command 5 năm trước cách đây
LICENSE dc3acadb9a Initial commit 5 năm trước cách đây
README.md 34b1aad8f7 Bundle pip in the base Python AppImages 5 năm trước cách đây
setup.py f23a2dc25f Add an app builder 5 năm trước cách đây

README.md

AppImage distributions of Python

Ready to use AppImages of Python are available as GitHub releases.

Quickstart

Our AppImages provide relocatable Python runtimes. Installation is as simple as downloading a single file and changing its mode to executable, e.g. as:

wget https://github.com/niess/python-appimage/releases/download/\
python3.8/python3.8.2-cp38-cp38-manylinux1_x86_64.AppImage
chmod +x python3.8.2-cp38-cp38-manylinux1_x86_64.AppImage

./python3.8.2-cp38-cp38-manylinux1_x86_64.AppImage

This should run Python 3.8 on almost any Linux provided that fuse is available. Note that on WSL1 since fuse is not supported you will need to extract the AppImage as explained hereafter.

The installation mode described previously is enough if you only need vanilla Python with its standard library. However, if you plan to install extra packages we recommmed extracting the AppImage, e.g. as:

./python3.8.2-cp38-cp38-manylinux1_x86_64.AppImage --appimage-extract
mv squashfs-root python3.8
rm -f python3.8.2-cp38-cp38-manylinux1_x86_64.AppImage

export PATH="$(pwd)/python3.8/usr/bin:${PATH}

Then, extra packages can be installed to the extracted AppDir using pip. For example upgrading pip can be done as:

pip install --upgrade pip