2
0
Эх сурвалжийг харах

dist: Add hidden imports for scipy

rdb 3 жил өмнө
parent
commit
2bd34a806d

+ 6 - 0
direct/src/dist/FreezeTool.py

@@ -84,6 +84,12 @@ hiddenImports = {
     ],
     'pandas.compat': ['lzma', 'cmath'],
     'pandas._libs.tslibs.conversion': ['pandas._libs.tslibs.base'],
+    'scipy.linalg': ['scipy.linalg.cython_blas', 'scipy.linalg.cython_lapack'],
+    'scipy.sparse.csgraph': ['scipy.sparse.csgraph._validation'],
+    'scipy.spatial._qhull': ['scipy._lib.messagestream'],
+    'scipy.spatial.transform._rotation': ['scipy.spatial.transform._rotation_groups'],
+    'scipy.special._ufuncs': ['scipy.special._ufuncs_cxx'],
+    'scipy.stats._stats': ['scipy.special.cython_special'],
 }
 
 if sys.version_info >= (3,):

+ 1 - 0
doc/ReleaseNotes

@@ -24,6 +24,7 @@ Deployment
 * Include _sysconfigdata module properly when using sysconfig module
 * Fix building deploy-stub on platforms that use DT_RUNPATH instead of DT_RPATH
 * `sys.flags.optimize` is now set to 2 in Python 3.2 and above
+* Fix import errors when using scipy
 
 Miscellaneous
 * `Texture::get_ram_image_as()` fixed for 3D textures