On 03/27/2018 01:04 PM, 'Christian Kohlöffel' via dxf2gcode-dev wrote:
> this was an accident of git, or to say it better: I am not very firm
> with Git. I thought i did make it correct. If you are able, can you just
> revert my changes i did on March 21 and replace it with your last
> Version. That would be the easiest way i think.
>
> Sorry for that
No problem! There's a *lot* to learn about git before it becomes easy
to use...
I just pushed a new commit (75be5b00) to the develop branch, this commit
restores the two changes I'd made to make_tr.py while leaving (I
believe) the changes you intended to make to make_tr.py.
The make_tr.py diff from where I left things to the tip of develop is
now this, which I think matches your intention:
> diff --git a/source/make_tr.py b/source/make_tr.py
> index 2cf0fea..3a2c3b3 100755
> --- a/source/make_tr.py
> +++ b/source/make_tr.py
> @@ -56,9 +56,9 @@ if "linux" in sys.platform.lower() or "unix" in sys.platform.lower() or "darwin"
> else:
> PYTHONPATH = os.path.split(sys.executable)[0]
> # To get pylupdate5.exe use: pip3.exe install PyQt5
> - PYLPATH = os.path.join(PYTHONPATH, "Lib/site-packages/PyQt5/pylupdate5.exe")
> + PYLPATH = os.path.join(PYTHONPATH, "Scripts/pylupdate5.exe")
> # To get lrelease.exe use: pip3.exe install pyqt5-tools
> - LREPATH = os.path.join(PYTHONPATH, "Lib/site-packages/pyqt5/lrelease.exe")
> + LREPATH = os.path.join(PYTHONPATH, "Lib/site-packages/pyqt5-tools/lrelease.exe")
> print("Using Windows platform tools \"%s\" and \"%s\"\n" % (PYLPATH, LREPATH))
>
> FILEPATH = os.path.realpath(os.path.dirname(sys.argv[0]))
> @@ -105,11 +105,11 @@ if len(sys.argv) >= 2 and sys.argv[1] == '--no-pylupdate':
> else:
> cmd1 = ("%s %s %s %s\n" % (PYLPATH, FILESSTR, OPTIONS, TSFILESTR))
> print(cmd1)
> - print(subprocess.call(cmd1, shell=True))
> + subprocess.check_call(cmd1, shell=True)
>
> cmd2 = ("%s %s\n" % (LREPATH, TSFILESTR))
> print(cmd2)
> -print(subprocess.call(cmd2, shell=True))
> +subprocess.check_call(cmd2, shell=True)
So i think all the changes you wanted, and all the changes i wanted, are
all in develop now. :-)
--
Sebastian Kuzminsky