pystand 2.12__tar.gz → 2.14__tar.gz
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.
- pystand-2.14/Makefile +21 -0
- {pystand-2.12/pystand.egg-info → pystand-2.14}/PKG-INFO +21 -22
- {pystand-2.12 → pystand-2.14}/README.md +18 -19
- {pystand-2.12 → pystand-2.14}/pyproject.toml +5 -4
- {pystand-2.12 → pystand-2.14/pystand.egg-info}/PKG-INFO +21 -22
- {pystand-2.12 → pystand-2.14}/pystand.egg-info/SOURCES.txt +0 -1
- {pystand-2.12 → pystand-2.14}/pystand.py +363 -222
- pystand-2.12/.flake8 +0 -3
- pystand-2.12/Makefile +0 -19
- {pystand-2.12 → pystand-2.14}/.gitignore +0 -0
- {pystand-2.12 → pystand-2.14}/pystand.egg-info/dependency_links.txt +0 -0
- {pystand-2.12 → pystand-2.14}/pystand.egg-info/entry_points.txt +0 -0
- {pystand-2.12 → pystand-2.14}/pystand.egg-info/requires.txt +0 -0
- {pystand-2.12 → pystand-2.14}/pystand.egg-info/top_level.txt +0 -0
- {pystand-2.12 → pystand-2.14}/setup.cfg +0 -0
pystand-2.14/Makefile
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
PYFILES = $(wildcard *.py)
|
2
|
+
check:
|
3
|
+
ruff check $(PYFILES)
|
4
|
+
mypy $(PYFILES)
|
5
|
+
pyright $(PYFILES)
|
6
|
+
|
7
|
+
build:
|
8
|
+
rm -rf dist
|
9
|
+
uv build
|
10
|
+
|
11
|
+
upload: build
|
12
|
+
uv-publish
|
13
|
+
|
14
|
+
doc:
|
15
|
+
update-readme-usage -A
|
16
|
+
|
17
|
+
format:
|
18
|
+
ruff check --select I --fix $(PYFILES) && ruff format $(PYFILES)
|
19
|
+
|
20
|
+
clean:
|
21
|
+
@rm -vrf *.egg-info build/ dist/ __pycache__
|
@@ -1,9 +1,9 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.4
|
2
2
|
Name: pystand
|
3
|
-
Version: 2.
|
3
|
+
Version: 2.14
|
4
4
|
Summary: Install Python versions from python-build-standalone project
|
5
5
|
Author-email: Mark Blakeney <mark.blakeney@bullet-systems.net>
|
6
|
-
License:
|
6
|
+
License-Expression: GPL-3.0-or-later
|
7
7
|
Project-URL: Homepage, https://github.com/bulletmark/pystand
|
8
8
|
Keywords: python-build-standalone,pyenv,hatch,pdm
|
9
9
|
Classifier: Programming Language :: Python :: 3
|
@@ -99,9 +99,9 @@ $ uv venv -p $(pystand path 3.12) myenv
|
|
99
99
|
# installed python 3.12:
|
100
100
|
$ $(pystand path -p 3.12) -m venv myenv
|
101
101
|
|
102
|
-
# Use
|
102
|
+
# Use uv tool to install a package to be run with pystand installed python
|
103
103
|
# specific version 3.11.1:
|
104
|
-
$
|
104
|
+
$ uv tool install -p $(pystand path 3.11.1) cowsay
|
105
105
|
```
|
106
106
|
|
107
107
|
See detailed usage information in the [Usage](#usage) section that
|
@@ -139,17 +139,17 @@ sh/python-build-standalone.
|
|
139
139
|
|
140
140
|
options:
|
141
141
|
-h, --help show this help message and exit
|
142
|
-
-D
|
142
|
+
-D, --distribution DISTRIBUTION
|
143
143
|
python-build-standalone distribution. Default is
|
144
144
|
"x86_64_v3-unknown-linux-gnu-install_only_stripped for
|
145
145
|
this host
|
146
|
-
-P
|
146
|
+
-P, --prefix-dir PREFIX_DIR
|
147
147
|
specify prefix dir for storing versions. Default is
|
148
148
|
"$HOME/.local/share/pystand"
|
149
|
-
-C
|
149
|
+
-C, --cache-dir CACHE_DIR
|
150
150
|
specify cache dir for downloads. Default is
|
151
151
|
"$HOME/.cache/pystand"
|
152
|
-
-M
|
152
|
+
-M, --cache-minutes CACHE_MINUTES
|
153
153
|
cache latest YYYYMMDD release tag fetch for this many
|
154
154
|
minutes, before rechecking for latest. Default is 60
|
155
155
|
minutes
|
@@ -174,7 +174,7 @@ Commands:
|
|
174
174
|
show Show versions available from a release.
|
175
175
|
path Show path prefix to installed version base directory.
|
176
176
|
|
177
|
-
Some commands offer aliases as shown in
|
177
|
+
Some commands offer aliases as shown in parentheses above. Note you can set
|
178
178
|
default starting global options in $HOME/.config/pystand-flags.conf.
|
179
179
|
```
|
180
180
|
|
@@ -193,7 +193,7 @@ positional arguments:
|
|
193
193
|
|
194
194
|
options:
|
195
195
|
-h, --help show this help message and exit
|
196
|
-
-r
|
196
|
+
-r, --release RELEASE
|
197
197
|
install from specified python-build-standalone
|
198
198
|
YYYYMMDD release (e.g. 20240415), default is latest
|
199
199
|
release
|
@@ -214,7 +214,7 @@ positional arguments:
|
|
214
214
|
|
215
215
|
options:
|
216
216
|
-h, --help show this help message and exit
|
217
|
-
-r
|
217
|
+
-r, --release RELEASE
|
218
218
|
update to specified YYYMMDD release (e.g. 20240415),
|
219
219
|
default is latest release
|
220
220
|
-a, --all update ALL versions
|
@@ -241,7 +241,7 @@ options:
|
|
241
241
|
-a, --all remove ALL versions
|
242
242
|
--skip skip the specified versions when removing all (only
|
243
243
|
can be specified with --all)
|
244
|
-
-r
|
244
|
+
-r, --release RELEASE
|
245
245
|
only remove versions if from specified YYYMMDD release
|
246
246
|
(e.g. 20240415)
|
247
247
|
|
@@ -262,7 +262,7 @@ options:
|
|
262
262
|
-h, --help show this help message and exit
|
263
263
|
-v, --verbose explicitly report why a version is not eligible for
|
264
264
|
update
|
265
|
-
-r
|
265
|
+
-r, --release RELEASE
|
266
266
|
use specified YYYYMMDD release (e.g. 20240415) for
|
267
267
|
verbose compare, default is latest release
|
268
268
|
```
|
@@ -283,7 +283,7 @@ positional arguments:
|
|
283
283
|
options:
|
284
284
|
-h, --help show this help message and exit
|
285
285
|
-l, --list just list recent releases
|
286
|
-
-r
|
286
|
+
-r, --release RELEASE
|
287
287
|
python-build-standalone YYYYMMDD release to show (e.g.
|
288
288
|
20240415), default is latest release
|
289
289
|
-a, --all show all available distributions for each version from
|
@@ -313,23 +313,24 @@ Python 3.8 or later is required. Arch Linux users can install [`pystand`
|
|
313
313
|
from the AUR](https://aur.archlinux.org/packages/pystand) and skip this
|
314
314
|
section.
|
315
315
|
|
316
|
-
|
317
|
-
|
316
|
+
Note [pystand is on PyPI](https://pypi.org/project/pystand/) so the
|
317
|
+
easiest way to install it is to use [`uv tool`][uvtool] (or
|
318
|
+
[`pipx`][pipx] or [`pipxu`][pipxu]).
|
318
319
|
|
319
320
|
```sh
|
320
|
-
$
|
321
|
+
$ uv tool install pystand
|
321
322
|
```
|
322
323
|
|
323
324
|
To upgrade:
|
324
325
|
|
325
326
|
```sh
|
326
|
-
$
|
327
|
+
$ uv tool upgrade pystand
|
327
328
|
```
|
328
329
|
|
329
330
|
To uninstall:
|
330
331
|
|
331
332
|
```sh
|
332
|
-
$
|
333
|
+
$ uv tool uninstall pystand
|
333
334
|
```
|
334
335
|
|
335
336
|
## Extrapolation of Python Versions
|
@@ -425,8 +426,6 @@ Note you can set a different default distribution by specifying
|
|
425
426
|
The `show` command can be used to search for distributions as seen in the
|
426
427
|
following examples.
|
427
428
|
|
428
|
-
```sh
|
429
|
-
|
430
429
|
List all the versions installed on this system (at the default location):
|
431
430
|
|
432
431
|
```sh
|
@@ -82,9 +82,9 @@ $ uv venv -p $(pystand path 3.12) myenv
|
|
82
82
|
# installed python 3.12:
|
83
83
|
$ $(pystand path -p 3.12) -m venv myenv
|
84
84
|
|
85
|
-
# Use
|
85
|
+
# Use uv tool to install a package to be run with pystand installed python
|
86
86
|
# specific version 3.11.1:
|
87
|
-
$
|
87
|
+
$ uv tool install -p $(pystand path 3.11.1) cowsay
|
88
88
|
```
|
89
89
|
|
90
90
|
See detailed usage information in the [Usage](#usage) section that
|
@@ -122,17 +122,17 @@ sh/python-build-standalone.
|
|
122
122
|
|
123
123
|
options:
|
124
124
|
-h, --help show this help message and exit
|
125
|
-
-D
|
125
|
+
-D, --distribution DISTRIBUTION
|
126
126
|
python-build-standalone distribution. Default is
|
127
127
|
"x86_64_v3-unknown-linux-gnu-install_only_stripped for
|
128
128
|
this host
|
129
|
-
-P
|
129
|
+
-P, --prefix-dir PREFIX_DIR
|
130
130
|
specify prefix dir for storing versions. Default is
|
131
131
|
"$HOME/.local/share/pystand"
|
132
|
-
-C
|
132
|
+
-C, --cache-dir CACHE_DIR
|
133
133
|
specify cache dir for downloads. Default is
|
134
134
|
"$HOME/.cache/pystand"
|
135
|
-
-M
|
135
|
+
-M, --cache-minutes CACHE_MINUTES
|
136
136
|
cache latest YYYYMMDD release tag fetch for this many
|
137
137
|
minutes, before rechecking for latest. Default is 60
|
138
138
|
minutes
|
@@ -157,7 +157,7 @@ Commands:
|
|
157
157
|
show Show versions available from a release.
|
158
158
|
path Show path prefix to installed version base directory.
|
159
159
|
|
160
|
-
Some commands offer aliases as shown in
|
160
|
+
Some commands offer aliases as shown in parentheses above. Note you can set
|
161
161
|
default starting global options in $HOME/.config/pystand-flags.conf.
|
162
162
|
```
|
163
163
|
|
@@ -176,7 +176,7 @@ positional arguments:
|
|
176
176
|
|
177
177
|
options:
|
178
178
|
-h, --help show this help message and exit
|
179
|
-
-r
|
179
|
+
-r, --release RELEASE
|
180
180
|
install from specified python-build-standalone
|
181
181
|
YYYYMMDD release (e.g. 20240415), default is latest
|
182
182
|
release
|
@@ -197,7 +197,7 @@ positional arguments:
|
|
197
197
|
|
198
198
|
options:
|
199
199
|
-h, --help show this help message and exit
|
200
|
-
-r
|
200
|
+
-r, --release RELEASE
|
201
201
|
update to specified YYYMMDD release (e.g. 20240415),
|
202
202
|
default is latest release
|
203
203
|
-a, --all update ALL versions
|
@@ -224,7 +224,7 @@ options:
|
|
224
224
|
-a, --all remove ALL versions
|
225
225
|
--skip skip the specified versions when removing all (only
|
226
226
|
can be specified with --all)
|
227
|
-
-r
|
227
|
+
-r, --release RELEASE
|
228
228
|
only remove versions if from specified YYYMMDD release
|
229
229
|
(e.g. 20240415)
|
230
230
|
|
@@ -245,7 +245,7 @@ options:
|
|
245
245
|
-h, --help show this help message and exit
|
246
246
|
-v, --verbose explicitly report why a version is not eligible for
|
247
247
|
update
|
248
|
-
-r
|
248
|
+
-r, --release RELEASE
|
249
249
|
use specified YYYYMMDD release (e.g. 20240415) for
|
250
250
|
verbose compare, default is latest release
|
251
251
|
```
|
@@ -266,7 +266,7 @@ positional arguments:
|
|
266
266
|
options:
|
267
267
|
-h, --help show this help message and exit
|
268
268
|
-l, --list just list recent releases
|
269
|
-
-r
|
269
|
+
-r, --release RELEASE
|
270
270
|
python-build-standalone YYYYMMDD release to show (e.g.
|
271
271
|
20240415), default is latest release
|
272
272
|
-a, --all show all available distributions for each version from
|
@@ -296,23 +296,24 @@ Python 3.8 or later is required. Arch Linux users can install [`pystand`
|
|
296
296
|
from the AUR](https://aur.archlinux.org/packages/pystand) and skip this
|
297
297
|
section.
|
298
298
|
|
299
|
-
|
300
|
-
|
299
|
+
Note [pystand is on PyPI](https://pypi.org/project/pystand/) so the
|
300
|
+
easiest way to install it is to use [`uv tool`][uvtool] (or
|
301
|
+
[`pipx`][pipx] or [`pipxu`][pipxu]).
|
301
302
|
|
302
303
|
```sh
|
303
|
-
$
|
304
|
+
$ uv tool install pystand
|
304
305
|
```
|
305
306
|
|
306
307
|
To upgrade:
|
307
308
|
|
308
309
|
```sh
|
309
|
-
$
|
310
|
+
$ uv tool upgrade pystand
|
310
311
|
```
|
311
312
|
|
312
313
|
To uninstall:
|
313
314
|
|
314
315
|
```sh
|
315
|
-
$
|
316
|
+
$ uv tool uninstall pystand
|
316
317
|
```
|
317
318
|
|
318
319
|
## Extrapolation of Python Versions
|
@@ -408,8 +409,6 @@ Note you can set a different default distribution by specifying
|
|
408
409
|
The `show` command can be used to search for distributions as seen in the
|
409
410
|
following examples.
|
410
411
|
|
411
|
-
```sh
|
412
|
-
|
413
412
|
List all the versions installed on this system (at the default location):
|
414
413
|
|
415
414
|
```sh
|
@@ -6,6 +6,7 @@ build-backend = "setuptools.build_meta"
|
|
6
6
|
name = "pystand"
|
7
7
|
description = "Install Python versions from python-build-standalone project"
|
8
8
|
readme = "README.md"
|
9
|
+
license = "GPL-3.0-or-later"
|
9
10
|
requires-python = ">=3.8"
|
10
11
|
keywords = ["python-build-standalone", "pyenv", "hatch", "pdm"]
|
11
12
|
classifiers = [
|
@@ -30,9 +31,6 @@ Homepage = "https://github.com/bulletmark/pystand"
|
|
30
31
|
[project.scripts]
|
31
32
|
pystand = "pystand:main"
|
32
33
|
|
33
|
-
[project.license]
|
34
|
-
text = "GPLv3"
|
35
|
-
|
36
34
|
[tool.setuptools_scm]
|
37
35
|
version_scheme = "post-release"
|
38
36
|
|
@@ -43,10 +41,13 @@ allow_untyped_globals = true
|
|
43
41
|
allow_redefinition = true
|
44
42
|
ignore_missing_imports = true
|
45
43
|
|
44
|
+
[tool.ruff.format]
|
45
|
+
quote-style = "single"
|
46
|
+
skip-magic-trailing-comma = true
|
47
|
+
|
46
48
|
[tool.edit-lint]
|
47
49
|
linters = [
|
48
50
|
"ruff check",
|
49
|
-
"flake8",
|
50
51
|
"mypy",
|
51
52
|
"pyright",
|
52
53
|
]
|
@@ -1,9 +1,9 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.4
|
2
2
|
Name: pystand
|
3
|
-
Version: 2.
|
3
|
+
Version: 2.14
|
4
4
|
Summary: Install Python versions from python-build-standalone project
|
5
5
|
Author-email: Mark Blakeney <mark.blakeney@bullet-systems.net>
|
6
|
-
License:
|
6
|
+
License-Expression: GPL-3.0-or-later
|
7
7
|
Project-URL: Homepage, https://github.com/bulletmark/pystand
|
8
8
|
Keywords: python-build-standalone,pyenv,hatch,pdm
|
9
9
|
Classifier: Programming Language :: Python :: 3
|
@@ -99,9 +99,9 @@ $ uv venv -p $(pystand path 3.12) myenv
|
|
99
99
|
# installed python 3.12:
|
100
100
|
$ $(pystand path -p 3.12) -m venv myenv
|
101
101
|
|
102
|
-
# Use
|
102
|
+
# Use uv tool to install a package to be run with pystand installed python
|
103
103
|
# specific version 3.11.1:
|
104
|
-
$
|
104
|
+
$ uv tool install -p $(pystand path 3.11.1) cowsay
|
105
105
|
```
|
106
106
|
|
107
107
|
See detailed usage information in the [Usage](#usage) section that
|
@@ -139,17 +139,17 @@ sh/python-build-standalone.
|
|
139
139
|
|
140
140
|
options:
|
141
141
|
-h, --help show this help message and exit
|
142
|
-
-D
|
142
|
+
-D, --distribution DISTRIBUTION
|
143
143
|
python-build-standalone distribution. Default is
|
144
144
|
"x86_64_v3-unknown-linux-gnu-install_only_stripped for
|
145
145
|
this host
|
146
|
-
-P
|
146
|
+
-P, --prefix-dir PREFIX_DIR
|
147
147
|
specify prefix dir for storing versions. Default is
|
148
148
|
"$HOME/.local/share/pystand"
|
149
|
-
-C
|
149
|
+
-C, --cache-dir CACHE_DIR
|
150
150
|
specify cache dir for downloads. Default is
|
151
151
|
"$HOME/.cache/pystand"
|
152
|
-
-M
|
152
|
+
-M, --cache-minutes CACHE_MINUTES
|
153
153
|
cache latest YYYYMMDD release tag fetch for this many
|
154
154
|
minutes, before rechecking for latest. Default is 60
|
155
155
|
minutes
|
@@ -174,7 +174,7 @@ Commands:
|
|
174
174
|
show Show versions available from a release.
|
175
175
|
path Show path prefix to installed version base directory.
|
176
176
|
|
177
|
-
Some commands offer aliases as shown in
|
177
|
+
Some commands offer aliases as shown in parentheses above. Note you can set
|
178
178
|
default starting global options in $HOME/.config/pystand-flags.conf.
|
179
179
|
```
|
180
180
|
|
@@ -193,7 +193,7 @@ positional arguments:
|
|
193
193
|
|
194
194
|
options:
|
195
195
|
-h, --help show this help message and exit
|
196
|
-
-r
|
196
|
+
-r, --release RELEASE
|
197
197
|
install from specified python-build-standalone
|
198
198
|
YYYYMMDD release (e.g. 20240415), default is latest
|
199
199
|
release
|
@@ -214,7 +214,7 @@ positional arguments:
|
|
214
214
|
|
215
215
|
options:
|
216
216
|
-h, --help show this help message and exit
|
217
|
-
-r
|
217
|
+
-r, --release RELEASE
|
218
218
|
update to specified YYYMMDD release (e.g. 20240415),
|
219
219
|
default is latest release
|
220
220
|
-a, --all update ALL versions
|
@@ -241,7 +241,7 @@ options:
|
|
241
241
|
-a, --all remove ALL versions
|
242
242
|
--skip skip the specified versions when removing all (only
|
243
243
|
can be specified with --all)
|
244
|
-
-r
|
244
|
+
-r, --release RELEASE
|
245
245
|
only remove versions if from specified YYYMMDD release
|
246
246
|
(e.g. 20240415)
|
247
247
|
|
@@ -262,7 +262,7 @@ options:
|
|
262
262
|
-h, --help show this help message and exit
|
263
263
|
-v, --verbose explicitly report why a version is not eligible for
|
264
264
|
update
|
265
|
-
-r
|
265
|
+
-r, --release RELEASE
|
266
266
|
use specified YYYYMMDD release (e.g. 20240415) for
|
267
267
|
verbose compare, default is latest release
|
268
268
|
```
|
@@ -283,7 +283,7 @@ positional arguments:
|
|
283
283
|
options:
|
284
284
|
-h, --help show this help message and exit
|
285
285
|
-l, --list just list recent releases
|
286
|
-
-r
|
286
|
+
-r, --release RELEASE
|
287
287
|
python-build-standalone YYYYMMDD release to show (e.g.
|
288
288
|
20240415), default is latest release
|
289
289
|
-a, --all show all available distributions for each version from
|
@@ -313,23 +313,24 @@ Python 3.8 or later is required. Arch Linux users can install [`pystand`
|
|
313
313
|
from the AUR](https://aur.archlinux.org/packages/pystand) and skip this
|
314
314
|
section.
|
315
315
|
|
316
|
-
|
317
|
-
|
316
|
+
Note [pystand is on PyPI](https://pypi.org/project/pystand/) so the
|
317
|
+
easiest way to install it is to use [`uv tool`][uvtool] (or
|
318
|
+
[`pipx`][pipx] or [`pipxu`][pipxu]).
|
318
319
|
|
319
320
|
```sh
|
320
|
-
$
|
321
|
+
$ uv tool install pystand
|
321
322
|
```
|
322
323
|
|
323
324
|
To upgrade:
|
324
325
|
|
325
326
|
```sh
|
326
|
-
$
|
327
|
+
$ uv tool upgrade pystand
|
327
328
|
```
|
328
329
|
|
329
330
|
To uninstall:
|
330
331
|
|
331
332
|
```sh
|
332
|
-
$
|
333
|
+
$ uv tool uninstall pystand
|
333
334
|
```
|
334
335
|
|
335
336
|
## Extrapolation of Python Versions
|
@@ -425,8 +426,6 @@ Note you can set a different default distribution by specifying
|
|
425
426
|
The `show` command can be used to search for distributions as seen in the
|
426
427
|
following examples.
|
427
428
|
|
428
|
-
```sh
|
429
|
-
|
430
429
|
List all the versions installed on this system (at the default location):
|
431
430
|
|
432
431
|
```sh
|