Re: [gdal-dev] How to build py-gdal using the C++ compiler

2020-06-18 Thread Ryan Schmidt
On Jun 18, 2020, at 12:09, Chris Marsh wrote: > I note you commented on the setuptools issue here > https://github.com/pypa/setuptools/issues/1732 > > but there is also this earlier post > https://github.com/pypa/setuptools/issues/1192 Thanks, I hadn't seen that one. > From what I can tell,

Re: [gdal-dev] How to build py-gdal using the C++ compiler

2020-06-18 Thread Chris Marsh
Hi Ryan, Agreed. However for working in pyenvs, it 'just works' more reliably. I'm actually quite interested in this issue as I have python code on pypi that uses gdal & setuptools. I note you commented on the setuptools issue here https://github.com/pypa/setuptools/issues/1732 but there is als

Re: [gdal-dev] How to build py-gdal using the C++ compiler

2020-06-17 Thread Ryan Schmidt
On Jun 17, 2020, at 18:38, Chris Marsh wrote: > I don't have anything to do with the gdal project, so I don't have a proper > answer for you. > > However, I use this project > https://github.com/nextgis/pygdal > for using python gdal in my venvs as it behaves much better. > > It uses setuptool

Re: [gdal-dev] How to build py-gdal using the C++ compiler

2020-06-17 Thread Ryan Schmidt
On Jun 17, 2020, at 18:08, Chris Marsh wrote: > To the right of the search box are 3 dots. Click that and 'view raw logs' > > https://pipelines.actions.githubusercontent.com/yqaARdsLodWRtkoqajmNaa64Xp4JCsYwhgHYzJtTCVY8q4LFPT/_apis/pipelines/1/runs/546/signedlogcontent/3?urlExpires=2020-06-17T23%3

Re: [gdal-dev] How to build py-gdal using the C++ compiler

2020-06-17 Thread Chris Marsh
To the right of the search box are 3 dots. Click that and 'view raw logs' https://pipelines.actions.githubusercontent.com/yqaARdsLodWRtkoqajmNaa64Xp4JCsYwhgHYzJtTCVY8q4LFPT/_apis/pipelines/1/runs/546/signedlogcontent/3?urlExpires=2020-06-17T23%3A07%3A33.8599856Z&urlSigningMethod=HMACV1&urlSignatur

Re: [gdal-dev] How to build py-gdal using the C++ compiler

2020-06-17 Thread Ryan Schmidt
On Jun 17, 2020, at 08:38, Even Rouault wrote: > On mardi 16 juin 2020 20:41:28 CEST Ryan Schmidt wrote: > > Hello, I'm a developer with MacPorts. We have this problem: py-gdal is > > written in C++ but it gets compiled using the C compiler and CFLAGS and > > linked using the C++ compiler and LD

Re: [gdal-dev] How to build py-gdal using the C++ compiler

2020-06-17 Thread Kurt Schwehr
Here is the (very out of date) fink setup for gdal for comparison: https://github.com/fink/fink-distributions/blob/master/10.9-libcxx/stable/main/finkinfo/libs/pythonmods/gdal-py.info#L43 https://github.com/fink/fink-distributions/blob/master/10.9-libcxx/stable/main/finkinfo/libs/pythonmods/gdal-p

Re: [gdal-dev] How to build py-gdal using the C++ compiler

2020-06-17 Thread Even Rouault
On mardi 16 juin 2020 20:41:28 CEST Ryan Schmidt wrote: > Hello, I'm a developer with MacPorts. We have this problem: py-gdal is > written in C++ but it gets compiled using the C compiler and CFLAGS and > linked using the C++ compiler and LDFLAGS. We would like it to be compiled > using the C++ com

[gdal-dev] How to build py-gdal using the C++ compiler

2020-06-16 Thread Ryan Schmidt
Hello, I'm a developer with MacPorts. We have this problem: py-gdal is written in C++ but it gets compiled using the C compiler and CFLAGS and linked using the C++ compiler and LDFLAGS. We would like it to be compiled using the C++ compiler and CXXFLAGS. How can this be accomplished? We have a n