Re: Replace uses of deprecated Python module distutils.sysconfig
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Replace uses of deprecated Python module distutils.sysconfig |
| Дата | |
| Msg-id | 2151924.1643058305@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Replace uses of deprecated Python module distutils.sysconfig (Peter Eisentraut <peter.eisentraut@enterprisedb.com>) |
| Список | pgsql-hackers |
Peter Eisentraut <peter.eisentraut@enterprisedb.com> writes:
> Also note that python-config is itself a Python script that uses
> sysconfig and includes code like this:
> elif opt in ('--includes', '--cflags'):
> flags = ['-I' + sysconfig.get_path('include'),
> '-I' + sysconfig.get_path('platinclude')]
> So this would just do the same thing we are already doing anyway.
It used to look like that, but at least in my 3.6.8 installation
on RHEL8, it's been rewritten to be a shell script that doesn't
depend on sysconfig at all.
The result is sufficiently bletcherous that you'd have thought
they'd reconsider getting rid of sysconfig :-(. Also, it
definitely won't work on Windows.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера