@bjia56/portable-python
Advanced tools
Comparing version 0.1.91 to 0.1.92
{ | ||
"name": "@bjia56/portable-python", | ||
"version": "0.1.91", | ||
"version": "0.1.92", | ||
"description": "Portable Python", | ||
@@ -92,6 +92,8 @@ "main": "./dist/index.js", | ||
"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" | ||
} | ||
@@ -98,0 +100,0 @@ } |
@@ -11,3 +11,2 @@ # portable-python | ||
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` | ||
@@ -20,7 +19,6 @@ - `npm i @bjia56/portable-python-3.10` | ||
``` | ||
$ 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 | ||
``` | ||
@@ -30,5 +28,5 @@ | ||
``` | ||
$ 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 | ||
``` | ||
@@ -38,3 +36,3 @@ | ||
```js | ||
var pythonExe = require("@bjia56/portable-python-3.9"); | ||
var pythonExe = require("@bjia56/portable-python-3.12"); | ||
var child_process = require("child_process"); | ||
@@ -46,4 +44,4 @@ console.log(child_process.execSync(`${pythonExe} --version`).toString()); | ||
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 | ||
@@ -54,2 +52,6 @@ - MacOS x86_64, arm64 <sup id="a2">[2](#f2)</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> | ||
@@ -56,0 +58,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
42750
60
118
12
16
114