Gorgosek / ivs-projekt2-CodePainCodeGain

GNU General Public License v3.0
1 stars 0 forks source link

Installer #8

Open xhajekp00 opened 5 months ago

xhajekp00 commented 5 months ago

Creating installer (.deb package) for calculator.

Gorgosek commented 5 months ago

Don't forget file standard_deviation.py uses mathlib functions, it also has to be renamed into stddev binary by the installer!

xhajekp00 commented 5 months ago

Both taken into account, now only need to handle dependencies installation

xhajekp00 commented 5 months ago

Created new folders: installer/ - for Calculator package installer_stddev/ - for stddev package These are folders with files for .deb package

Added 2 scripts into src/ for package creation: script_calc.sh script_stddev.sh These scripts copy necessary files into the installer folders and create .deb packages.

Please integrate them into Makefile #5

Gorgosek commented 5 months ago

Created new folders: installer/ - for Calculator package installer_stddev/ - for stddev package These are folders with files for .deb package

Added 2 scripts into src/ for package creation: script_calc.sh script_stddev.sh These scripts copy necessary files into the installer folders and create .deb packages.

Please integrate them into Makefile #5

PLEASE FIX Couldn't be installed using sudo dpkg -i calc_installer.deb from Desktop haven't tried it at src folder (should work) image

EDIT: stddev installer installs the program, the binary cannot run on its own also doesn't seem to be working correctly. image Wrong path /usr/python we're using python3. Possible FIXES:

Thanks, let me know when fixed ASAP.

Gorgosek commented 5 months ago

Created new folders: installer/ - for Calculator package installer_stddev/ - for stddev package These are folders with files for .deb package Added 2 scripts into src/ for package creation: script_calc.sh script_stddev.sh These scripts copy necessary files into the installer folders and create .deb packages. Please integrate them into Makefile #5

PLEASE FIX Couldn't be installed using sudo dpkg -i calc_installer.deb from Desktop haven't tried it at src folder (should work) image

EDIT: stddev installer installs the program, the binary cannot run on its own also doesn't seem to be working correctly. image Wrong path /usr/python we're using python3. Possible FIXES:

  • tell user in the commandline to export path in .bashrc or figure something else out.

Thanks, let me know when fixed ASAP.

Fixed problems and added an uninstaller at 9e8e28fb5ba631d89ad07347c35b90e8b2b40970 please someone test it and let me know!