Code Monkey home page Code Monkey logo

cpython-flatpak's Introduction

cpython-flatpak

A nightly cpython flatpak builder.

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

Requirements:

  • Fedora based:
sudo dnf install flatpak flatpak-builder
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
  • Debian based:
sudo apt install flatpak flatpak-builder
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.

sh build.sh  # or ./build.sh

locations:

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

$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:

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

cpython-flatpak's People

Contributors

ammarnajjar avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.