@bjia56/portable-python 0.1.91 → 0.1.92

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +14 -12
  2. package/package.json +4 -2
package/README.md CHANGED
@@ -8,7 +8,6 @@ This project provides self-contained (hence, "portable") Python distributions to
8
8
  ## Usage
9
9
 
10
10
  To get started, download archives from [GitHub releases](https://github.com/bjia56/portable-python/releases). Alternatively, use any of the following installers:
11
- - `npm i @bjia56/portable-python-3.8`
12
11
  - `npm i @bjia56/portable-python-3.9`
13
12
  - `npm i @bjia56/portable-python-3.10`
14
13
  - `npm i @bjia56/portable-python-3.11`
@@ -16,36 +15,39 @@ To get started, download archives from [GitHub releases](https://github.com/bjia
16
15
 
17
16
  For example, on Linux via bash:
18
17
  ```
19
- $ wget -q https://github.com/bjia56/portable-python/releases/download/v3.9.17-build.4/python-3.9
20
- .17-linux-x86_64.zip
21
- $ unzip -qq python-3.9.17-linux-x86_64.zip
22
- $ ./python-3.9.17-linux-x86_64/bin/python --version
23
- Python 3.9.17
18
+ $ 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
19
+ $ unzip -qq python-headless-3.12.6-linux-x86_64.zip
20
+ $ ./python-headless-3.12.6-linux-x86_64/bin/python --version
21
+ Python 3.12.6
24
22
  ```
25
23
 
26
24
  Or via the node installer:
27
25
  ```
28
- $ npm i --silent @bjia56/portable-python-3.9
29
- $ ./node_modules/@bjia56/portable-python-3.9/python-3.9.17-linux-x86_64/bin/python --version
30
- Python 3.9.17
26
+ $ npm i --silent @bjia56/portable-python-3.12
27
+ $ ./node_modules/@bjia56/portable-python-3.12/python-headless-3.12.6-linux-x86_64/bin/python --version
28
+ Python 3.12.6
31
29
  ```
32
30
 
33
31
  Or via node:
34
32
  ```js
35
- var pythonExe = require("@bjia56/portable-python-3.9");
33
+ var pythonExe = require("@bjia56/portable-python-3.12");
36
34
  var child_process = require("child_process");
37
35
  console.log(child_process.execSync(`${pythonExe} --version`).toString());
38
36
  ```
39
37
 
40
38
  ## Available distributions
41
39
 
42
- Currently, Python 3.9, 3.10, 3.11, and 3.12 are built for the following targets:
43
- - Linux x86_64, i386, aarch64, arm <sup id="a1">[1](#f1)</sup>, riscv64
40
+ Currently, CPython 3.9, 3.10, 3.11, and 3.12 are built for the following targets:
41
+ - Linux x86_64, i386, aarch64, arm <sup id="a1">[1](#f1)</sup>, riscv64 (glibc)
44
42
  - Windows x86_64
45
43
  - MacOS x86_64, arm64 <sup id="a2">[2](#f2)</sup>
46
44
  - FreeBSD 13, 14 x86_64
47
45
  - Cosmopolitan libc <sup id="a3">[3](#f3)</sup>
48
46
 
47
+ 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.
48
+
49
+ 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.
50
+
49
51
  <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>
50
52
 
51
53
  <sub><b id="f2">2</b> MacOS distributions are provided as universal2, which will work on both x86_64 and arm64. [↩](#a2)</sub>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bjia56/portable-python",
3
- "version": "0.1.91",
3
+ "version": "0.1.92",
4
4
  "description": "Portable Python",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -89,10 +89,12 @@
89
89
  },
90
90
  "pypy": {
91
91
  "versions": [
92
+ "7.3.17",
92
93
  "7.3.16"
93
94
  ],
94
95
  "versionBuilds": {
95
- "7.3.16": "pypy-v7.3.16-build.0"
96
+ "7.3.16": "pypy-v7.3.16-build.0",
97
+ "7.3.17": "pypy-v7.3.17-build.0"
96
98
  }
97
99
  }
98
100
  }