<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi,<br>
</p>
<div class="moz-cite-prefix">Le 19/03/2024 à 20:14, Fengting Chen
via gdal-dev a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:SN7PR10MB7046F5A03064082FA738E647932C2@SN7PR10MB7046.namprd10.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator"
content="Microsoft Word 15 (filtered medium)">
<style>@font-face
{font-family:PMingLiU;
panose-1:2 2 5 0 0 0 0 0 0 0;}@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
{font-family:Aptos;
panose-1:2 11 0 4 2 2 2 2 2 4;}@font-face
{font-family:"\@PMingLiU";
panose-1:2 1 6 1 0 1 1 1 1 1;}p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:12.0pt;
font-family:"Aptos",sans-serif;
mso-ligatures:standardcontextual;}span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Aptos",sans-serif;
color:windowtext;}.MsoChpDefault
{mso-style-type:export-only;
font-family:"Aptos",sans-serif;}div.WordSection1
{page:WordSection1;}</style>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Hi, I was
able to build the GDAL with python binding on without error
on windows. However, “cmake --build . --target install
--config Release” command doesn’t install the python
site-packages etc to the specified “CMAKE_INSTALL_PREFIX”
directory. The rest of the GDAL components were installed
properly. Did I miss anything?
</span></p>
</div>
</blockquote>
<p>What I can tell is that .github/workflows/cmake_builds.yml lines
480 "cmake --build $GITHUB_WORKSPACE/build --config Release
--target install" seems to do the job on CI :<br>
</p>
<p><a class="moz-txt-link-freetext" href="https://github.com/OSGeo/gdal/actions/runs/8346148650/job/22842755713">https://github.com/OSGeo/gdal/actions/runs/8346148650/job/22842755713</a></p>
<p>"""<br>
<span
class="CheckStep-line-content d-inline-block flex-auto ml-3 js-check-line-content"><span
class="" style="">[...]</span></span></p>
<p><span
class="CheckStep-line-content d-inline-block flex-auto ml-3 js-check-line-content"><span
class="" style="">copying
build\lib.win-amd64-cpython-310\osgeo\gdal.py ->
D:\\a\\gdal\\gdal\\install-gdal\Lib\site-packages\osgeo<br>
</span></span><span
class="CheckStep-line-content d-inline-block flex-auto ml-3 js-check-line-content"><span
class="" style="">copying
build\lib.win-amd64-cpython-310\osgeo\gdalconst.py ->
D:\\a\\gdal\\gdal\\install-gdal\Lib\site-packages\osgeo
</span></span> </p>
<div data-index="366">
</div>
<div data-index="367">
<div
class="js-check-step-line CheckStep-line d-flex log-line-plain">
</div>
</div>
<div data-index="367">
<div
class="js-check-step-line CheckStep-line d-flex log-line-plain">
<span
class="CheckStep-line-content d-inline-block flex-auto ml-3 js-check-line-content"><span
class="" style="">copying
build\lib.win-amd64-cpython-310\osgeo\gdalnumeric.py ->
D:\\a\\gdal\\gdal\\install-gdal\Lib\site-packages\osgeo
</span></span> </div>
</div>
<div data-index="368">
<div
class="js-check-step-line CheckStep-line d-flex log-line-plain">
</div>
</div>
<div data-index="368">
<div
class="js-check-step-line CheckStep-line d-flex log-line-plain">
<span
class="CheckStep-line-content d-inline-block flex-auto ml-3 js-check-line-content"><span
class="" style="">copying
build\lib.win-amd64-cpython-310\osgeo\gdal_array.py ->
D:\\a\\gdal\\gdal\\install-gdal\Lib\site-packages\osgeo
</span></span> </div>
</div>
<div data-index="369">
<div
class="js-check-step-line CheckStep-line d-flex log-line-plain">
</div>
</div>
<div data-index="369">
<div
class="js-check-step-line CheckStep-line d-flex log-line-plain">
<span
class="CheckStep-line-content d-inline-block flex-auto ml-3 js-check-line-content"><span
class="" style="">copying
build\lib.win-amd64-cpython-310\osgeo\gnm.py ->
D:\\a\\gdal\\gdal\\install-gdal\Lib\site-packages\osgeo
</span></span> </div>
</div>
<div data-index="370">
<div
class="js-check-step-line CheckStep-line d-flex log-line-plain">
</div>
</div>
<div data-index="370">
<div
class="js-check-step-line CheckStep-line d-flex log-line-plain">
<span
class="CheckStep-line-content d-inline-block flex-auto ml-3 js-check-line-content"><span
class="" style="">copying
build\lib.win-amd64-cpython-310\osgeo\ogr.py ->
D:\\a\\gdal\\gdal\\install-gdal\Lib\site-packages\osgeo
</span></span> </div>
</div>
<div data-index="371">
<div
class="js-check-step-line CheckStep-line d-flex log-line-plain">
</div>
</div>
<div data-index="371">
<div
class="js-check-step-line CheckStep-line d-flex log-line-plain">
<span
class="CheckStep-line-content d-inline-block flex-auto ml-3 js-check-line-content"><span
class="" style="">copying
build\lib.win-amd64-cpython-310\osgeo\osr.py ->
D:\\a\\gdal\\gdal\\install-gdal\Lib\site-packages\osgeo
</span></span> </div>
</div>
<div data-index="372">
<div
class="js-check-step-line CheckStep-line d-flex log-line-plain">
</div>
</div>
<div data-index="372">
<div
class="js-check-step-line CheckStep-line d-flex log-line-plain">
<span
class="CheckStep-line-content d-inline-block flex-auto ml-3 js-check-line-content"><span
class="" style="">copying
build\lib.win-amd64-cpython-310\osgeo\_gdal.cp310-win_amd64.pyd
->
D:\\a\\gdal\\gdal\\install-gdal\Lib\site-packages\osgeo
</span></span> </div>
</div>
<div data-index="373">
<div
class="js-check-step-line CheckStep-line d-flex log-line-plain">
</div>
</div>
<div data-index="373">
<div
class="js-check-step-line CheckStep-line d-flex log-line-plain">
<span
class="CheckStep-line-content d-inline-block flex-auto ml-3 js-check-line-content"><span
class="" style="">copying
build\lib.win-amd64-cpython-310\osgeo\_gdalconst.cp310-win_amd64.pyd
->
D:\\a\\gdal\\gdal\\install-gdal\Lib\site-packages\osgeo
</span></span> </div>
</div>
<div data-index="374">
<div
class="js-check-step-line CheckStep-line d-flex log-line-plain">
</div>
</div>
<div data-index="374">
<div
class="js-check-step-line CheckStep-line d-flex log-line-plain">
<span
class="CheckStep-line-content d-inline-block flex-auto ml-3 js-check-line-content"><span
class="" style="">copying
build\lib.win-amd64-cpython-310\osgeo\_gdal_array.cp310-win_amd64.pyd
->
D:\\a\\gdal\\gdal\\install-gdal\Lib\site-packages\osgeo
</span></span> </div>
</div>
<div data-index="375">
<div
class="js-check-step-line CheckStep-line d-flex log-line-plain">
</div>
</div>
<div data-index="375">
<div
class="js-check-step-line CheckStep-line d-flex log-line-plain">
<span
class="CheckStep-line-content d-inline-block flex-auto ml-3 js-check-line-content"><span
class="" style="">copying
build\lib.win-amd64-cpython-310\osgeo\_gnm.cp310-win_amd64.pyd
->
D:\\a\\gdal\\gdal\\install-gdal\Lib\site-packages\osgeo
</span></span> </div>
</div>
<div data-index="376">
<div
class="js-check-step-line CheckStep-line d-flex log-line-plain">
</div>
</div>
<div data-index="376">
<div
class="js-check-step-line CheckStep-line d-flex log-line-plain">
<span
class="CheckStep-line-content d-inline-block flex-auto ml-3 js-check-line-content"><span
class="" style="">copying
build\lib.win-amd64-cpython-310\osgeo\_ogr.cp310-win_amd64.pyd
->
D:\\a\\gdal\\gdal\\install-gdal\Lib\site-packages\osgeo<br>
</span></span><span
class="CheckStep-line-content d-inline-block flex-auto ml-3 js-check-line-content"><span
class="" style="">copying
build\lib.win-amd64-cpython-310\osgeo\_osr.cp310-win_amd64.pyd
->
D:\\a\\gdal\\gdal\\install-gdal\Lib\site-packages\osgeo<br>
[...]<br>
</span></span></div>
</div>
<p><span
class="CheckStep-line-content d-inline-block flex-auto ml-3 js-check-line-content"><span
class="" style="">"""</span></span></p>
<p><span
class="CheckStep-line-content d-inline-block flex-auto ml-3 js-check-line-content"><span
class="" style="">which setuptools version do you use? which
logs do you get?<br>
</span></span></p>
<p><span
class="CheckStep-line-content d-inline-block flex-auto ml-3 js-check-line-content"><span
class="" style="">Perhaps also try running "python setup.py
install" manually from the swig/python build directory</span></span></p>
<p><span
class="CheckStep-line-content d-inline-block flex-auto ml-3 js-check-line-content"><span
class="" style="">Even<br>
</span></span></p>
<span style="white-space: pre-wrap">
</span>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</body>
</html>