pystand 2.31__tar.gz → 2.32__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pystand
3
- Version: 2.31
3
+ Version: 2.32
4
4
  Summary: Install Python versions from python-build-standalone project
5
5
  Author-email: Mark Blakeney <mark.blakeney@bullet-systems.net>
6
6
  License-Expression: GPL-3.0-or-later
@@ -0,0 +1,19 @@
1
+ #!/usr/bin/python
2
+ import re
3
+ import subprocess
4
+ import sys
5
+
6
+ import pystand
7
+
8
+ cmd = 'pystand show -a'.split()
9
+ out = subprocess.run(cmd, capture_output=True, text=True).stdout
10
+ alldists = set(re.sub(r'.+"(.+)".*', r'\1', ln) for ln in out.splitlines())
11
+
12
+ error = 0
13
+ for mach, dist in pystand.DISTRIBUTIONS.items():
14
+ if dist not in alldists:
15
+ machstr = f'{mach[0]}-{mach[1]}'
16
+ print(f'{machstr} invalid distribution: "{dist}"', file=sys.stderr)
17
+ error = 1
18
+
19
+ sys.exit(error)
pystand-2.32/justfile ADDED
@@ -0,0 +1,26 @@
1
+ PYFILES := `echo *.py`
2
+
3
+ check:
4
+ python check-dist.py
5
+ ruff check {{PYFILES}}
6
+ ty check --python /usr/bin/python {{PYFILES}}
7
+ vermin -vv --no-tips -i {{PYFILES}}
8
+ md-link-checker
9
+
10
+ build:
11
+ rm -rf dist
12
+ uv build
13
+
14
+ upload: build
15
+ uv-publish
16
+
17
+ doc:
18
+ update-readme-usage -A
19
+
20
+ format:
21
+ ruff check --select I --fix {{PYFILES}} && ruff format {{PYFILES}}
22
+
23
+ clean:
24
+ @rm -vrf *.egg-info build/ dist/ __pycache__/
25
+
26
+ # vim: set sw=2:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pystand
3
- Version: 2.31
3
+ Version: 2.32
4
4
  Summary: Install Python versions from python-build-standalone project
5
5
  Author-email: Mark Blakeney <mark.blakeney@bullet-systems.net>
6
6
  License-Expression: GPL-3.0-or-later
@@ -1,5 +1,6 @@
1
1
  .gitignore
2
2
  README.md
3
+ check-dist.py
3
4
  justfile
4
5
  pyproject.toml
5
6
  pystand.py
@@ -51,8 +51,8 @@ DISTRIBUTIONS = {
51
51
  ('Darwin', 'x86_64'): 'x86_64-apple-darwin-install_only_stripped',
52
52
  ('Darwin', 'aarch64'): 'aarch64-apple-darwin-install_only_stripped',
53
53
  ('Darwin', 'arm64'): 'aarch64-apple-darwin-install_only_stripped',
54
- ('Windows', 'x86_64'): 'x86_64-pc-windows-msvc-shared-install_only_stripped',
55
- ('Windows', 'i686'): 'i686-pc-windows-msvc-shared-install_only_stripped',
54
+ ('Windows', 'x86_64'): 'x86_64-pc-windows-msvc-install_only_stripped',
55
+ ('Windows', 'i686'): 'i686-pc-windows-msvc-install_only_stripped',
56
56
  ('Windows', 'aarch64'): 'aarch64-pc-windows-msvc-install_only_stripped',
57
57
  ('Windows', 'arm64'): 'aarch64-pc-windows-msvc-install_only_stripped',
58
58
  }
pystand-2.31/justfile DELETED
@@ -1,23 +0,0 @@
1
- PYFILES := file_name(justfile_directory()) + '.py'
2
-
3
- check:
4
- ruff check {{PYFILES}}
5
- ty check --python /usr/bin/python {{PYFILES}}
6
- vermin -vv --no-tips -i {{PYFILES}}
7
- md-link-checker
8
-
9
- build:
10
- rm -rf dist
11
- uv build
12
-
13
- upload: build
14
- uv-publish
15
-
16
- doc:
17
- update-readme-usage -A
18
-
19
- format:
20
- ruff check --select I --fix {{PYFILES}} && ruff format {{PYFILES}}
21
-
22
- clean:
23
- @rm -vrf *.egg-info build/ dist/ __pycache__/
File without changes
File without changes
File without changes
File without changes