PipeCAD
PipeCAD copied to clipboard
Upgrade of PipeCAD
Is it possible to add possibility to check if new version is available and update PipeCAD automatically after. I found one Qt solution which can be useful for you - https://github.com/Skycoder42/QtAutoUpdater. For Python files, update process can be separated from PipeCAD core update process and can be run manually by request on pressing button in Admin module (for example, it could be - Update Python Libraries), which will start Python script to compare version of Python files on main GitHub repository or on company's repo (in case if company will have its private PipeCAD repo by security reason similar like for pmllib).
Great! I will learn QtAutoUpdater and add upgrade function in PipeCAD.
I started to prepare a form for getting libraries/docs/uic/... from GitHub to allow updating PipeCAD environment w/out waiting new version.
Also, I would like to correct names of folders on GitHub to simplify coping files: Python -> lib Translations -> translations
The same there will rename folders in PipeCAD:
Lib -> lib
Settings -> settings
Translations -> translations
Add folders:
uic - for including menu files *.uic & *xml
help - for including docs
template - for including ProjectDefinition.xlsx and other templates
catalogue - for including catalogues databases or macro, which will be common for sample project
Later also PipeCAD binary files can be uploaded to network share to allow upgrade of software automatically.
OK. Maybe add folder bin and upload PipeCAD binary files and allow upgrade without setup.
Change the default import path to PIPECAD_EXE/templates
Hello Shing, I think will good if you also add new system variable to common evars.bat:
SET PYTHONPYCACHEPREFIX=%TEMP%
It will allow to move python cache from python library folders (which could be for read access only for designers and for write access for admin) to system %TEMP% (which usually for write access).
OK. I will add it to evars.bat.