File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 2828OTHER DEALINGS IN THE SOFTWARE.
2929"""
3030
31- __version__ = '4.4.20210812 '
31+ __version__ = '4.5.20210912 '
3232__license__ = __doc__
3333__project_url__ = 'http://winpython.github.io/'
Original file line number Diff line number Diff line change @@ -35,7 +35,9 @@ def get_python_executable(path = None):
3535 my_path = my_path if osp .isdir (my_path ) else osp .dirname (my_path )
3636 exec_py = os .path .join (path , 'python.exe' )
3737 exec_pypy = os .path .join (path , 'pypy3.exe' ) # PyPy !
38- python_executable = exec_pypy if osp .isfile (exec_pypy ) else exec_py
38+ # PyPy >=7.3.6 3.8 aligns to python.exe and Lib\site-packages
39+ #python_executable = exec_pypy if osp.isfile(exec_pypy) else exec_py
40+ python_executable = exec_py if osp .isfile (exec_py ) else exec_pypy
3941 return python_executable
4042
4143def get_site_packages_path (path = None ):
@@ -368,6 +370,8 @@ def get_pandoc_version(path):
368370def python_query (cmd , path ):
369371 """Execute Python command using the Python interpreter located in *path*"""
370372 the_exe = get_python_executable (path )
373+ # debug2021-09-12
374+ print ('%s -c "%s"' % (the_exe , cmd ), ' * ' , path )
371375 return exec_shell_cmd ('%s -c "%s"' % (the_exe , cmd ), path ).splitlines ()[0 ]
372376
373377def python_execmodule (cmd , path ):
You can’t perform that action at this time.
0 commit comments