good idea. I guess externalizing ship is not a big deal. But I guess the reported problems are more related to matpplotlib than the ship-workbench.
ok I will try to externalize the workbenches. Any ideas if there is a way to reuse the commits?wmayer wrote: ↑Sat Sep 22, 2018 12:09 pmI agree that it would be best to move Ship and Plot to the Add-ons repo. Its author Jose Luis Cercos Pita announced a few years ago that he will stop maintaining these modules and there is nobody else who does it. Also, I think the user base of these modules is very small.
No idea.Any ideas if there is a way to reuse the commits?
Yes it's possible to ship compiled binaries with pip. But it's still not very useful for freecad as the linux-build-env of pip (centos5-based?) is maybe not compatible with all available FreeCAD-binaries. We can solve this problem by using conda, but this will solve packaging only for conda (there are many other package-managers, build-systems, ...) So better make addons python-only.
So this should work:pyside-rcc -help wrote: PySide resource compiler
Usage: pyside-rcc [options] <inputs>
-o file Write output to file rather than stdout
-py2 Generate code for any Python v2.x version (default)
-py3 Generate code for any Python v3.x version
-name name Create an external initialization function with name
-threshold level Threshold to consider compressing files
-compress level Compress input files by level
-root path Prefix resource access path with root path
-no-compress Disable all compression
-version Display version
-help Display this information
Code: Select all
pyside-rcc -o Ship_rc.py resources/Ship.qrc
The .qm files are added to the .qrc file and thus pyside-rcc puts them all into the Ship_rc.py module.how to integrate the translation-stuff?
I couldn't find any mention on the forum, but he stopped being active on the forum 5 years ago. (For others interested, his account name was sanguinariojoe).
Thank you for doing this. And thanks to Kunda1 for bringing this issue to light.