cuquantum-python 26.1.0__tar.gz → 26.3.0.post0__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.
- {cuquantum_python-26.1.0 → cuquantum_python-26.3.0.post0}/PKG-INFO +1 -1
- {cuquantum_python-26.1.0 → cuquantum_python-26.3.0.post0}/cuda_autodetect.py +3 -3
- {cuquantum_python-26.1.0 → cuquantum_python-26.3.0.post0}/cuquantum_python.egg-info/PKG-INFO +1 -1
- {cuquantum_python-26.1.0 → cuquantum_python-26.3.0.post0}/setup.py +1 -1
- {cuquantum_python-26.1.0 → cuquantum_python-26.3.0.post0}/LICENSE +0 -0
- {cuquantum_python-26.1.0 → cuquantum_python-26.3.0.post0}/README.rst +0 -0
- {cuquantum_python-26.1.0 → cuquantum_python-26.3.0.post0}/cuquantum_python.egg-info/SOURCES.txt +0 -0
- {cuquantum_python-26.1.0 → cuquantum_python-26.3.0.post0}/cuquantum_python.egg-info/dependency_links.txt +0 -0
- {cuquantum_python-26.1.0 → cuquantum_python-26.3.0.post0}/cuquantum_python.egg-info/not-zip-safe +0 -0
- {cuquantum_python-26.1.0 → cuquantum_python-26.3.0.post0}/cuquantum_python.egg-info/requires.txt +0 -0
- {cuquantum_python-26.1.0 → cuquantum_python-26.3.0.post0}/cuquantum_python.egg-info/top_level.txt +0 -0
- {cuquantum_python-26.1.0 → cuquantum_python-26.3.0.post0}/setup.cfg +0 -0
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
# THE SOFTWARE.
|
|
32
32
|
|
|
33
33
|
import ctypes
|
|
34
|
-
import
|
|
34
|
+
import importlib.metadata
|
|
35
35
|
import os
|
|
36
36
|
import sys
|
|
37
37
|
from typing import Dict, List, Optional
|
|
@@ -164,9 +164,9 @@ def _find_installed_packages() -> List[str]:
|
|
|
164
164
|
|
|
165
165
|
for pkg in list(map(f, PACKAGE_SUPPORTED_CUDA_VER)):
|
|
166
166
|
try:
|
|
167
|
-
|
|
167
|
+
importlib.metadata.distribution(pkg)
|
|
168
168
|
found.append(pkg)
|
|
169
|
-
except
|
|
169
|
+
except importlib.metadata.PackageNotFoundError:
|
|
170
170
|
pass
|
|
171
171
|
return found
|
|
172
172
|
|
|
File without changes
|
|
File without changes
|
{cuquantum_python-26.1.0 → cuquantum_python-26.3.0.post0}/cuquantum_python.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{cuquantum_python-26.1.0 → cuquantum_python-26.3.0.post0}/cuquantum_python.egg-info/not-zip-safe
RENAMED
|
File without changes
|
{cuquantum_python-26.1.0 → cuquantum_python-26.3.0.post0}/cuquantum_python.egg-info/requires.txt
RENAMED
|
File without changes
|
{cuquantum_python-26.1.0 → cuquantum_python-26.3.0.post0}/cuquantum_python.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|