项目作者: ammarnajjar

项目描述 :
A cpython nightly build for flatpak users.
高级语言: Shell
项目地址: git://github.com/ammarnajjar/cpython-flatpak.git
创建时间: 2019-11-23T22:13:56Z
项目社区:https://github.com/ammarnajjar/cpython-flatpak

开源协议:MIT License

下载


cpython-flatpak

A nightly cpython flatpak builder.

For official cpython releases,
please refer to tags,
they match the official cpython releases.

Requirements:

  • Fedora based:
  1. sudo dnf install flatpak flatpak-builder
  2. flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
  • Debian based:
  1. sudo apt install flatpak flatpak-builder
  2. flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

Usage:

installation:

This will install flatpak SDK, fetch the cpython source from github, build it, and install it locally as a flatpak repo.

  1. sh build.sh # or ./build.sh

locations:

After installtion, the binary is found under the following path:

  1. $HOME/.local/share/flatpak/app/org.flatpak.Python/current/active/files/bin/python3.9 /usr/local/bin/python3.9

and a symlink to it is created under /usr/local/bin/python3.9.

running :

directly in terminal:

  1. $ python3.9
  2. Python 3.9.0a1+ (heads/master:ded8888, Nov 23 2019, 20:23:27)
  3. [GCC 8.3.0] on linux
  4. Type "help", "copyright", "credits" or "license" for more information.
  5. >>> import sys; print(sys.version_info)
  6. sys.version_info(major=3, minor=9, micro=0, releaselevel='alpha', serial=1)