Thanks Deitmar you are a great help.
I did what you said.
I gave this command (taking --nodo and sip out give the same result).
c:/python27/python.exe build.py clean build dox etg --nodoc sip bdist_wheel --python=c:/python35/python.exe
and I got at the end
------------ BUILD FINISHED ------------
To use wxPython from the build folder (without installing):
- Set your PYTHONPATH variable to C:\Users\agranero\Downloads\4 Programming\wxPython_Phoenix-3.0.3.dev1830+0b5f910.
Finished command: build_py (13m27.264s)
Finished command: build (20m1.341s)
Running command: dox
Checking for C:\Users\agranero\Downloads\4 Programming\wxPython_Phoenix-3.0.3.dev1830+0b5f910\bin\doxygen-1.8.8-win32.exe…
Not found. Attempting to download…
Connection successful…
Data downloaded…
Checking for C:\Users\agranero\Downloads\4 Programming\wxPython_Phoenix-3.0.3.dev1830+0b5f910\bin\doxygen-1.8.8-win32.exe…
Command ‘c:/cygwin/bin/cygpath -u C:/Users/agranero/Downloads/4 Programming/wxPython_Phoenix-3.0.3.dev1830+0b5f910/bin/doxygen-1.8.8-win32.exe’ failed with exit code 1.
O sistema não pode encontrar o caminho especificado.
Finished command: dox (9.72s)
as I foresaw the hardcoded paths were a problem, so I changed them (cygwin64) and tried again:
------------ BUILD FINISHED ------------
To use wxPython from the build folder (without installing):
- Set your PYTHONPATH variable to C:\Users\agranero\Downloads\4 Programming\wxPython_Phoenix-3.0.3.dev1830+0b5f910.
Finished command: build_py (13m22.124s)
Finished command: build (19m25.472s)
Running command: dox
Checking for C:\Users\agranero\Downloads\4 Programming\wxPython_Phoenix-3.0.3.dev1830+0b5f910\bin\doxygen-1.8.8-win32.exe…
c:/cygwin64/bin/bash.exe -l -c “cd C:/Users/agranero/Downloads/4 Programming/wxPython_Phoenix-3.0.3.dev1830+0b5f910/ext/wxWidgets/docs/doxygen && ./regen.sh xml”
/usr/bin/bash: line 0: cd: C:/Users/agranero/Downloads/4: Not a directory
Command ‘c:/cygwin64/bin/bash.exe -l -c “cd C:/Users/agranero/Downloads/4 Programming/wxPython_Phoenix-3.0.3.dev1830+0b5f910/ext/wxWidgets/docs/doxygen && ./regen.sh xml”’ failed with exit code 1.
Finished command: dox (1.975s)
Again spaces in the path pose a problem. I changed build.py the line:
cmd = ‘c:/cygwin64/bin/bash.exe -l -c “cd %s && ./regen.sh %s”’ % (d, arg)
to:
cmd = ‘c:/cygwin64/bin/bash.exe -l -c “cd “%s” && ./regen.sh %s”’ % (d, arg)
and tried again. Still the same error because we have double quotes inside double quotes, changed to simplle quotes ecaping them:
cmd = ‘c:/cygwin64/bin/bash.exe -l -c “cd '%s' && ./regen.sh %s”’ % (d, arg)
now the error changed:
------------ BUILD FINISHED ------------
To use wxPython from the build folder (without installing):
- Set your PYTHONPATH variable to C:\Users\agranero\Downloads\4 Programming\wxPython_Phoenix-3.0.3.dev1830+0b5f910.
Finished command: build_py (16m33.784s)
Finished command: build (23m56.631s)
Running command: dox
Checking for C:\Users\agranero\Downloads\4 Programming\wxPython_Phoenix-3.0.3.dev1830+0b5f910\bin\doxygen-1.8.8-win32.exe…
c:/cygwin64/bin/bash.exe -l -c “cd ‘C:/Users/agranero/Downloads/4 Programming/wxPython_Phoenix-3.0.3.dev1830+0b5f910/ext/wxWidgets/docs/doxygen’ && ./regen.sh xml”
cat: doxygen.log: No such file or directory
./regen.sh: line 208: cd: /cygdrive/c/Users/agranero/Downloads/4: Not a directory
Command ‘c:/cygwin64/bin/bash.exe -l -c “cd ‘C:/Users/agranero/Downloads/4 Programming/wxPython_Phoenix-3.0.3.dev1830+0b5f910/ext/wxWidgets/docs/doxygen’ && ./regen.sh xml”’ failed with exit code 1.
Finished command: dox (1.852s)
I changed the \ext\wxWidgets\docs\doxygen\regen.sh from:
return to the original folder from which this script was launched
cd $current
to put double quotes around the path (again the space on the path):
return to the original folder from which this script was launched
cd “$current”
obtaining:
------------ BUILD FINISHED ------------
To use wxPython from the build folder (without installing):
- Set your PYTHONPATH variable to C:\Users\agranero\Downloads\4 Programming\wxPython_Phoenix-3.0.3.dev1830+0b5f910.
Finished command: build_py (14m30.721s)
Finished command: build (21m0.870s)
Running command: dox
Checking for C:\Users\agranero\Downloads\4 Programming\wxPython_Phoenix-3.0.3.dev1830+0b5f910\bin\doxygen-1.8.8-win32.exe…
c:/cygwin64/bin/bash.exe -l -c “cd ‘C:/Users/agranero/Downloads/4 Programming/wxPython_Phoenix-3.0.3.dev1830+0b5f910/ext/wxWidgets/docs/doxygen’ && ./regen.sh xml”
Finished command: dox (2.739s)
Running command: etg
Traceback (most recent call last):
File “build.py”, line 1655, in
main(sys.argv[1:])
File “build.py”, line 171, in main
function(options, args)
File “build.py”, line 775, in cmd_etg
assert os.path.exists(cfg.DOXY_XML_DIR), "Doxygen XML folder not found: " + cfg.DOXY_XML_DIR
AssertionError: Doxygen XML folder not found: C:\Users\agranero\Downloads\4 Programming\wxPython_Phoenix-3.0.3.dev1830+0b5f910\ext\wxWidgets\docs/doxygen/out/xml
Finished command: etg (0.20s)
Now I am stuck. I think I know what Doxigen does, but I am not experienced with it.
It seems the build finished, but something got wrong for dox generating the xml needed for etg scripts to generate files used by sip to generate the bindings (am I right?).
before constructing the wheel file.
···
On Monday, November 30, 2015 at 8:24:56 PM UTC-2, Dietmar Schwertberger wrote:
Am 30.11.2015 um 23:09 schrieb Airton Granero:
with the already exposed result. Maybe there is something wrong in the
build.
I would suggest a full build.py run including the commands “dox etg
–nodoc sip build”.
Even though, this should not be required, I think that the build.py
script does not manage/check some of the interim dependencies 100% correct.
Regards,
Dietmar