scripts on Windows wrongfully points to bin folder
PS C:\Users\traveler\git\python-build> pypy3 --version
Python 3.6.9 (d38cd66c14b8, Sep 23 2020, 08:02:17)
[PyPy 7.3.2 with MSC v.1927 32 bit]
PS C:\Users\traveler\git\python-build> pypy3 -c "import sysconfig; print(sysconfig.get_path('scripts'))"
C:\extra\pypy3.6\pypy3.6-v7.3.2-win32\bin
PS C:\Users\traveler\git\python-build> dir C:\extra\pypy3.6\pypy3.6-v7.3.2-win32\Scripts
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 10/7/2020 6:24 PM 97151 easy_install-3.6.exe
-a---- 10/7/2020 6:24 PM 97142 pip3.6.exe
-a---- 10/7/2020 6:24 PM 97142 pip3.exe
Tools get installed under Scripts
path though, but sysconfig returns bin
.
Seems distutils points to the right places, but clashes with sysconfig values. They probably should be in sync.
pypy3 .\virtualenv\src\virtualenv\discovery\py_info.py
{
"sysconfig_paths": {
"stdlib": "{installed_base}/lib-{implementation_lower}",
"platstdlib": "{base}/lib-{implementation_lower}",
"purelib": "{base}/site-packages",
"platlib": "{base}/site-packages",
"include": "{installed_base}/include",
"scripts": "{base}/bin",
"data": "{base}"
},
"sysconfig_vars": {
"installed_base": "C:\\extra\\pypy3.6\\pypy3.6-v7.3.2-win32",
"implementation_lower": "pypy",
"base": "C:\\extra\\pypy3.6\\pypy3.6-v7.3.2-win32",
"PYTHONFRAMEWORK": ""
},
"distutils_install": {
"purelib": "site-packages",
"platlib": "site-packages",
"headers": "include\\UNKNOWN",
"scripts": "Scripts",
"data": ""
},
}