python detection v windows

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема python detection v windows
Дата
Msg-id 70f3fde5-fad0-9d91-f254-72097095cd02@2ndQuadrant.com
обсуждение исходный текст
Список pgsql-hackers
I just tried building with Python on msys2. However, the setup of the
latest python doesn't fit our detection code. I see this:


# /c/Python37/python -c 'import distutils.sysconfig;
print(distutils.sysconfig.get_config_vars());'

{'LIBDEST': 'C:\\Python37\\Lib', 'BINLIBDEST': 'C:\\Python37\\Lib',
'INCLUDEPY': 'C:\\Python37\\include', 'EXT_SUFFIX':
'.cp37-win_amd64.pyd', 'EXE': '.exe', 'VERSION': '37', 'BINDIR':
'C:\\Python37', 'prefix': 'C:\\Python37', 'exec_prefix': 'C:\\Python37',
'SO': '.cp37-win_amd64.pyd', 'srcdir': 'C:\\Python37'}


The python3.dll and python37.dll files are in c:\\python37, i.e. the
BINDIR as one might expect on Windows.


It would be nice to get this working.


cheers


andrew


-- 
Andrew Dunstan                https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: Connections hang indefinitely while taking a gin index's LWLockbuffer_content lock(PG10.7)
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Windows v readline