ducktools-pythonfinder 0.6.0__tar.gz → 0.6.1__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.
Files changed (39) hide show
  1. {ducktools_pythonfinder-0.6.0/src/ducktools_pythonfinder.egg-info → ducktools_pythonfinder-0.6.1}/PKG-INFO +1 -1
  2. ducktools_pythonfinder-0.6.1/src/ducktools/pythonfinder/_version.py +2 -0
  3. {ducktools_pythonfinder-0.6.0 → ducktools_pythonfinder-0.6.1}/src/ducktools/pythonfinder/shared.py +8 -7
  4. {ducktools_pythonfinder-0.6.0 → ducktools_pythonfinder-0.6.1/src/ducktools_pythonfinder.egg-info}/PKG-INFO +1 -1
  5. ducktools_pythonfinder-0.6.0/src/ducktools/pythonfinder/_version.py +0 -2
  6. {ducktools_pythonfinder-0.6.0 → ducktools_pythonfinder-0.6.1}/.gitignore +0 -0
  7. {ducktools_pythonfinder-0.6.0 → ducktools_pythonfinder-0.6.1}/LICENSE +0 -0
  8. {ducktools_pythonfinder-0.6.0 → ducktools_pythonfinder-0.6.1}/MANIFEST.in +0 -0
  9. {ducktools_pythonfinder-0.6.0 → ducktools_pythonfinder-0.6.1}/README.md +0 -0
  10. {ducktools_pythonfinder-0.6.0 → ducktools_pythonfinder-0.6.1}/pyproject.toml +0 -0
  11. {ducktools_pythonfinder-0.6.0 → ducktools_pythonfinder-0.6.1}/scripts/build_zipapp.py +0 -0
  12. {ducktools_pythonfinder-0.6.0 → ducktools_pythonfinder-0.6.1}/scripts/detail_this_python.py +0 -0
  13. {ducktools_pythonfinder-0.6.0 → ducktools_pythonfinder-0.6.1}/scripts/print_python_versions.py +0 -0
  14. {ducktools_pythonfinder-0.6.0 → ducktools_pythonfinder-0.6.1}/setup.cfg +0 -0
  15. {ducktools_pythonfinder-0.6.0 → ducktools_pythonfinder-0.6.1}/src/ducktools/pythonfinder/__init__.py +0 -0
  16. {ducktools_pythonfinder-0.6.0 → ducktools_pythonfinder-0.6.1}/src/ducktools/pythonfinder/__main__.py +0 -0
  17. {ducktools_pythonfinder-0.6.0 → ducktools_pythonfinder-0.6.1}/src/ducktools/pythonfinder/darwin/__init__.py +0 -0
  18. {ducktools_pythonfinder-0.6.0 → ducktools_pythonfinder-0.6.1}/src/ducktools/pythonfinder/details_script.py +0 -0
  19. {ducktools_pythonfinder-0.6.0 → ducktools_pythonfinder-0.6.1}/src/ducktools/pythonfinder/linux/__init__.py +0 -0
  20. {ducktools_pythonfinder-0.6.0 → ducktools_pythonfinder-0.6.1}/src/ducktools/pythonfinder/linux/pyenv_search.py +0 -0
  21. {ducktools_pythonfinder-0.6.0 → ducktools_pythonfinder-0.6.1}/src/ducktools/pythonfinder/pythonorg_search.py +0 -0
  22. {ducktools_pythonfinder-0.6.0 → ducktools_pythonfinder-0.6.1}/src/ducktools/pythonfinder/win32/__init__.py +0 -0
  23. {ducktools_pythonfinder-0.6.0 → ducktools_pythonfinder-0.6.1}/src/ducktools/pythonfinder/win32/pyenv_search.py +0 -0
  24. {ducktools_pythonfinder-0.6.0 → ducktools_pythonfinder-0.6.1}/src/ducktools/pythonfinder/win32/registry_search.py +0 -0
  25. {ducktools_pythonfinder-0.6.0 → ducktools_pythonfinder-0.6.1}/src/ducktools_pythonfinder.egg-info/SOURCES.txt +0 -0
  26. {ducktools_pythonfinder-0.6.0 → ducktools_pythonfinder-0.6.1}/src/ducktools_pythonfinder.egg-info/dependency_links.txt +0 -0
  27. {ducktools_pythonfinder-0.6.0 → ducktools_pythonfinder-0.6.1}/src/ducktools_pythonfinder.egg-info/entry_points.txt +0 -0
  28. {ducktools_pythonfinder-0.6.0 → ducktools_pythonfinder-0.6.1}/src/ducktools_pythonfinder.egg-info/requires.txt +0 -0
  29. {ducktools_pythonfinder-0.6.0 → ducktools_pythonfinder-0.6.1}/src/ducktools_pythonfinder.egg-info/top_level.txt +0 -0
  30. {ducktools_pythonfinder-0.6.0 → ducktools_pythonfinder-0.6.1}/tests/conftest.py +0 -0
  31. {ducktools_pythonfinder-0.6.0 → ducktools_pythonfinder-0.6.1}/tests/sources/python_versions.txt +0 -0
  32. {ducktools_pythonfinder-0.6.0 → ducktools_pythonfinder-0.6.1}/tests/sources/release.json +0 -0
  33. {ducktools_pythonfinder-0.6.0 → ducktools_pythonfinder-0.6.1}/tests/sources/release_file.json +0 -0
  34. {ducktools_pythonfinder-0.6.0 → ducktools_pythonfinder-0.6.1}/tests/test_details_script.py +0 -0
  35. {ducktools_pythonfinder-0.6.0 → ducktools_pythonfinder-0.6.1}/tests/test_foldersearch.py +0 -0
  36. {ducktools_pythonfinder-0.6.0 → ducktools_pythonfinder-0.6.1}/tests/test_orgsearch.py +0 -0
  37. {ducktools_pythonfinder-0.6.0 → ducktools_pythonfinder-0.6.1}/tests/test_pyenv.py +0 -0
  38. {ducktools_pythonfinder-0.6.0 → ducktools_pythonfinder-0.6.1}/tests/test_shared.py +0 -0
  39. {ducktools_pythonfinder-0.6.0 → ducktools_pythonfinder-0.6.1}/tests/test_uv_finder.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ducktools-pythonfinder
3
- Version: 0.6.0
3
+ Version: 0.6.1
4
4
  Summary: Cross platform tool to find available python installations
5
5
  Author: David C Ellis
6
6
  Project-URL: Homepage, https://github.com/davidcellis/ducktools-pythonfinder
@@ -0,0 +1,2 @@
1
+ __version__ = "0.6.1"
2
+ __version_tuple__ = (0, 6, 1)
@@ -337,10 +337,11 @@ def get_uv_pythons(query_executables=True) -> Iterator[PythonInstall]:
337
337
  # This takes some shortcuts over the regular pythonfinder
338
338
  # As the UV folders give the python version and the implementation
339
339
  if uv_python_path := get_uv_python_path():
340
- with os.scandir(uv_python_path) as fld:
341
- for f in fld:
342
- if (
343
- f.is_dir()
344
- and (install := _implementation_from_uv_dir(f, query_executables))
345
- ):
346
- yield install
340
+ if os.path.exists(uv_python_path):
341
+ with os.scandir(uv_python_path) as fld:
342
+ for f in fld:
343
+ if (
344
+ f.is_dir()
345
+ and (install := _implementation_from_uv_dir(f, query_executables))
346
+ ):
347
+ yield install
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ducktools-pythonfinder
3
- Version: 0.6.0
3
+ Version: 0.6.1
4
4
  Summary: Cross platform tool to find available python installations
5
5
  Author: David C Ellis
6
6
  Project-URL: Homepage, https://github.com/davidcellis/ducktools-pythonfinder
@@ -1,2 +0,0 @@
1
- __version__ = "0.6.0"
2
- __version_tuple__ = (0, 6, 0)