ducktools-pythonfinder 0.6.4__tar.gz → 0.6.6__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.
- {ducktools_pythonfinder-0.6.4/src/ducktools_pythonfinder.egg-info → ducktools_pythonfinder-0.6.6}/PKG-INFO +1 -1
- {ducktools_pythonfinder-0.6.4 → ducktools_pythonfinder-0.6.6}/src/ducktools/pythonfinder/__main__.py +4 -6
- ducktools_pythonfinder-0.6.6/src/ducktools/pythonfinder/_version.py +2 -0
- {ducktools_pythonfinder-0.6.4 → ducktools_pythonfinder-0.6.6}/src/ducktools/pythonfinder/linux/__init__.py +1 -1
- {ducktools_pythonfinder-0.6.4 → ducktools_pythonfinder-0.6.6}/src/ducktools/pythonfinder/win32/registry_search.py +7 -2
- {ducktools_pythonfinder-0.6.4 → ducktools_pythonfinder-0.6.6/src/ducktools_pythonfinder.egg-info}/PKG-INFO +1 -1
- ducktools_pythonfinder-0.6.4/src/ducktools/pythonfinder/_version.py +0 -2
- {ducktools_pythonfinder-0.6.4 → ducktools_pythonfinder-0.6.6}/.gitignore +0 -0
- {ducktools_pythonfinder-0.6.4 → ducktools_pythonfinder-0.6.6}/LICENSE +0 -0
- {ducktools_pythonfinder-0.6.4 → ducktools_pythonfinder-0.6.6}/MANIFEST.in +0 -0
- {ducktools_pythonfinder-0.6.4 → ducktools_pythonfinder-0.6.6}/README.md +0 -0
- {ducktools_pythonfinder-0.6.4 → ducktools_pythonfinder-0.6.6}/pyproject.toml +0 -0
- {ducktools_pythonfinder-0.6.4 → ducktools_pythonfinder-0.6.6}/scripts/build_zipapp.py +0 -0
- {ducktools_pythonfinder-0.6.4 → ducktools_pythonfinder-0.6.6}/scripts/detail_this_python.py +0 -0
- {ducktools_pythonfinder-0.6.4 → ducktools_pythonfinder-0.6.6}/scripts/print_python_versions.py +0 -0
- {ducktools_pythonfinder-0.6.4 → ducktools_pythonfinder-0.6.6}/setup.cfg +0 -0
- {ducktools_pythonfinder-0.6.4 → ducktools_pythonfinder-0.6.6}/src/ducktools/pythonfinder/__init__.py +0 -0
- {ducktools_pythonfinder-0.6.4 → ducktools_pythonfinder-0.6.6}/src/ducktools/pythonfinder/darwin/__init__.py +0 -0
- {ducktools_pythonfinder-0.6.4 → ducktools_pythonfinder-0.6.6}/src/ducktools/pythonfinder/details_script.py +0 -0
- {ducktools_pythonfinder-0.6.4 → ducktools_pythonfinder-0.6.6}/src/ducktools/pythonfinder/linux/pyenv_search.py +0 -0
- {ducktools_pythonfinder-0.6.4 → ducktools_pythonfinder-0.6.6}/src/ducktools/pythonfinder/pythonorg_search.py +0 -0
- {ducktools_pythonfinder-0.6.4 → ducktools_pythonfinder-0.6.6}/src/ducktools/pythonfinder/shared.py +0 -0
- {ducktools_pythonfinder-0.6.4 → ducktools_pythonfinder-0.6.6}/src/ducktools/pythonfinder/win32/__init__.py +0 -0
- {ducktools_pythonfinder-0.6.4 → ducktools_pythonfinder-0.6.6}/src/ducktools/pythonfinder/win32/pyenv_search.py +0 -0
- {ducktools_pythonfinder-0.6.4 → ducktools_pythonfinder-0.6.6}/src/ducktools_pythonfinder.egg-info/SOURCES.txt +0 -0
- {ducktools_pythonfinder-0.6.4 → ducktools_pythonfinder-0.6.6}/src/ducktools_pythonfinder.egg-info/dependency_links.txt +0 -0
- {ducktools_pythonfinder-0.6.4 → ducktools_pythonfinder-0.6.6}/src/ducktools_pythonfinder.egg-info/entry_points.txt +0 -0
- {ducktools_pythonfinder-0.6.4 → ducktools_pythonfinder-0.6.6}/src/ducktools_pythonfinder.egg-info/requires.txt +0 -0
- {ducktools_pythonfinder-0.6.4 → ducktools_pythonfinder-0.6.6}/src/ducktools_pythonfinder.egg-info/top_level.txt +0 -0
- {ducktools_pythonfinder-0.6.4 → ducktools_pythonfinder-0.6.6}/tests/conftest.py +0 -0
- {ducktools_pythonfinder-0.6.4 → ducktools_pythonfinder-0.6.6}/tests/sources/python_versions.txt +0 -0
- {ducktools_pythonfinder-0.6.4 → ducktools_pythonfinder-0.6.6}/tests/sources/release.json +0 -0
- {ducktools_pythonfinder-0.6.4 → ducktools_pythonfinder-0.6.6}/tests/sources/release_file.json +0 -0
- {ducktools_pythonfinder-0.6.4 → ducktools_pythonfinder-0.6.6}/tests/test_details_script.py +0 -0
- {ducktools_pythonfinder-0.6.4 → ducktools_pythonfinder-0.6.6}/tests/test_foldersearch.py +0 -0
- {ducktools_pythonfinder-0.6.4 → ducktools_pythonfinder-0.6.6}/tests/test_orgsearch.py +0 -0
- {ducktools_pythonfinder-0.6.4 → ducktools_pythonfinder-0.6.6}/tests/test_pyenv.py +0 -0
- {ducktools_pythonfinder-0.6.4 → ducktools_pythonfinder-0.6.6}/tests/test_shared.py +0 -0
- {ducktools_pythonfinder-0.6.4 → ducktools_pythonfinder-0.6.6}/tests/test_uv_finder.py +0 -0
{ducktools_pythonfinder-0.6.4 → ducktools_pythonfinder-0.6.6}/src/ducktools/pythonfinder/__main__.py
RENAMED
|
@@ -157,12 +157,10 @@ def display_local_installs(
|
|
|
157
157
|
elif max_ver and install.version > max_ver:
|
|
158
158
|
continue
|
|
159
159
|
elif compatible:
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
break
|
|
165
|
-
if mismatch:
|
|
160
|
+
if install.version < compatible:
|
|
161
|
+
continue
|
|
162
|
+
version_parts = len(compatible) - 1
|
|
163
|
+
if install.version[:version_parts] > compatible[:-1]:
|
|
166
164
|
continue
|
|
167
165
|
|
|
168
166
|
version_str = install.version_str
|
|
@@ -34,7 +34,7 @@ from .pyenv_search import get_pyenv_pythons
|
|
|
34
34
|
def get_path_pythons() -> Iterator[PythonInstall]:
|
|
35
35
|
exe_names = set()
|
|
36
36
|
|
|
37
|
-
path_folders = os.environ.get("PATH").split(":")
|
|
37
|
+
path_folders = os.environ.get("PATH", "").split(":")
|
|
38
38
|
pyenv_root = os.environ.get("PYENV_ROOT")
|
|
39
39
|
uv_root = get_uv_python_path()
|
|
40
40
|
|
|
@@ -74,13 +74,18 @@ def get_registered_pythons() -> Iterator[PythonInstall]:
|
|
|
74
74
|
continue
|
|
75
75
|
|
|
76
76
|
with winreg.OpenKey(base_key, company) as company_key:
|
|
77
|
-
comp_metadata = {
|
|
77
|
+
comp_metadata = {
|
|
78
|
+
"Company": company
|
|
79
|
+
}
|
|
78
80
|
|
|
79
81
|
for name, data, _ in enum_values(company_key):
|
|
80
82
|
comp_metadata[f"Company{name}"] = data
|
|
81
83
|
|
|
82
84
|
for py_keyname in enum_keys(company_key):
|
|
83
|
-
metadata = {
|
|
85
|
+
metadata = {
|
|
86
|
+
**comp_metadata,
|
|
87
|
+
"Tag": py_keyname,
|
|
88
|
+
}
|
|
84
89
|
|
|
85
90
|
with winreg.OpenKey(company_key, py_keyname) as py_key:
|
|
86
91
|
for name, data, _ in enum_values(py_key):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ducktools_pythonfinder-0.6.4 → ducktools_pythonfinder-0.6.6}/scripts/print_python_versions.py
RENAMED
|
File without changes
|
|
File without changes
|
{ducktools_pythonfinder-0.6.4 → ducktools_pythonfinder-0.6.6}/src/ducktools/pythonfinder/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ducktools_pythonfinder-0.6.4 → ducktools_pythonfinder-0.6.6}/src/ducktools/pythonfinder/shared.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ducktools_pythonfinder-0.6.4 → ducktools_pythonfinder-0.6.6}/tests/sources/python_versions.txt
RENAMED
|
File without changes
|
|
File without changes
|
{ducktools_pythonfinder-0.6.4 → ducktools_pythonfinder-0.6.6}/tests/sources/release_file.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|