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.
- {pystand-2.31/pystand.egg-info → pystand-2.32}/PKG-INFO +1 -1
- pystand-2.32/check-dist.py +19 -0
- pystand-2.32/justfile +26 -0
- {pystand-2.31 → pystand-2.32/pystand.egg-info}/PKG-INFO +1 -1
- {pystand-2.31 → pystand-2.32}/pystand.egg-info/SOURCES.txt +1 -0
- {pystand-2.31 → pystand-2.32}/pystand.py +2 -2
- pystand-2.31/justfile +0 -23
- {pystand-2.31 → pystand-2.32}/.gitignore +0 -0
- {pystand-2.31 → pystand-2.32}/README.md +0 -0
- {pystand-2.31 → pystand-2.32}/pyproject.toml +0 -0
- {pystand-2.31 → pystand-2.32}/pystand.egg-info/dependency_links.txt +0 -0
- {pystand-2.31 → pystand-2.32}/pystand.egg-info/entry_points.txt +0 -0
- {pystand-2.31 → pystand-2.32}/pystand.egg-info/requires.txt +0 -0
- {pystand-2.31 → pystand-2.32}/pystand.egg-info/top_level.txt +0 -0
- {pystand-2.31 → pystand-2.32}/setup.cfg +0 -0
|
@@ -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:
|
|
@@ -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-
|
|
55
|
-
('Windows', 'i686'): 'i686-pc-windows-msvc-
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|