pypy / wxpython-cffi

Experiment in getting SIP to emit cffi code
1 stars 0 forks source link

regen.sh does not appear to support spaces in the path #2

Closed programmingkidx closed 3 years ago

programmingkidx commented 3 years ago

When I ran this command "build.py dox", I saw this message:

./regen.sh xml ./regen.sh: line 116: //wxPython: No such file or directory ./regen.sh: line 205: cd: //wxPython: No such file or directory Command './regen.sh xml' failed with exit code 1. Finished command: dox (0.50s)

The full name of the folder that the regen.sh command stops at is "wxPython in PyPy". Since the message stops at the space in the name I think this is a problem with spaces in the path.

programmingkidx commented 3 years ago

This problem is with wxWidgets and not with wxPython-cfii. But if anyone encounters this issue in the future here is a quick fix. Open the file wxWidgets-2.95/docs/doxygen/regen.sh. Then add double quotes to $DOXYGEN at line 116. It should look like this: "$DOXYGEN" Doxyfile Then add double quotes to $current at line 205. It should look like this: cd "$current"