Skip to content

Commit

Permalink
Releasing pypy-v7.3.17-build.0
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 15, 2024
1 parent b5237c6 commit d2dc5fd
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 16 deletions.
26 changes: 14 additions & 12 deletions installers/nodejs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,44 +8,46 @@ This project provides self-contained (hence, "portable") Python distributions to
## Usage

To get started, download archives from [GitHub releases](https://github.com/bjia56/portable-python/releases). Alternatively, use any of the following installers:
- `npm i @bjia56/portable-python-3.8`
- `npm i @bjia56/portable-python-3.9`
- `npm i @bjia56/portable-python-3.10`
- `npm i @bjia56/portable-python-3.11`
- `npm i @bjia56/portable-python-3.12`

For example, on Linux via bash:
```
$ wget -q https://github.com/bjia56/portable-python/releases/download/v3.9.17-build.4/python-3.9
.17-linux-x86_64.zip
$ unzip -qq python-3.9.17-linux-x86_64.zip
$ ./python-3.9.17-linux-x86_64/bin/python --version
Python 3.9.17
$ wget -q https://github.com/bjia56/portable-python/releases/download/cpython-v3.12.6-build.5/python-headless-3.12.6-linux-x86_64.zip
$ unzip -qq python-headless-3.12.6-linux-x86_64.zip
$ ./python-headless-3.12.6-linux-x86_64/bin/python --version
Python 3.12.6
```

Or via the node installer:
```
$ npm i --silent @bjia56/portable-python-3.9
$ ./node_modules/@bjia56/portable-python-3.9/python-3.9.17-linux-x86_64/bin/python --version
Python 3.9.17
$ npm i --silent @bjia56/portable-python-3.12
$ ./node_modules/@bjia56/portable-python-3.12/python-headless-3.12.6-linux-x86_64/bin/python --version
Python 3.12.6
```

Or via node:
```js
var pythonExe = require("@bjia56/portable-python-3.9");
var pythonExe = require("@bjia56/portable-python-3.12");
var child_process = require("child_process");
console.log(child_process.execSync(`${pythonExe} --version`).toString());
```

## Available distributions

Currently, Python 3.9, 3.10, 3.11, and 3.12 are built for the following targets:
- Linux x86_64, i386, aarch64, arm <sup id="a1">[1](#f1)</sup>, riscv64
Currently, CPython 3.9, 3.10, 3.11, and 3.12 are built for the following targets:
- Linux x86_64, i386, aarch64, arm <sup id="a1">[1](#f1)</sup>, riscv64 (glibc)
- Windows x86_64
- MacOS x86_64, arm64 <sup id="a2">[2](#f2)</sup>
- FreeBSD 13, 14 x86_64
- Cosmopolitan libc <sup id="a3">[3](#f3)</sup>

For all CPython distributions except for the Cosmopolitan libc build, there are two available variants: `full` and `headless`. The distinction is that `headless` builds do not include any UI libraries (i.e. `tkinter` and its dependencies), so are better suited for non-graphical server installations.

PyPy and GraalPy distributions are also available as repackaged versions of official upstream releases. Though they are already portable, the distributions have been made available through the node installers for convenience and flexibility.

<sub><b id="f1">1</b> The arm builds target armv6, specifically the configuration of the Raspberry Pi 1. Current arm builds do not work properly on old glibc, but a recent version of Raspbian like Debian bullseye should provide a new enough glibc to work. [](#a1)</sub>

<sub><b id="f2">2</b> MacOS distributions are provided as universal2, which will work on both x86_64 and arm64. [](#a2)</sub>
Expand Down
4 changes: 2 additions & 2 deletions installers/nodejs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions installers/nodejs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bjia56/portable-python",
"version": "0.1.91",
"version": "0.1.92",
"description": "Portable Python",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
Expand Down Expand Up @@ -89,10 +89,12 @@
},
"pypy": {
"versions": [
"7.3.17",
"7.3.16"
],
"versionBuilds": {
"7.3.16": "pypy-v7.3.16-build.0"
"7.3.16": "pypy-v7.3.16-build.0",
"7.3.17": "pypy-v7.3.17-build.0"
}
}
}
Expand Down

0 comments on commit d2dc5fd

Please sign in to comment.