Sep-15-2022, 02:01 PM
Hello everyone!
After successfully creating the .deb file with setuptools and extracting it. When launching the application desktop file, it gives an error:
I followed this tutorial https://www.youtube.com/watch?v=bkfHQoVd...Zt&index=8
After successfully creating the .deb file with setuptools and extracting it. When launching the application desktop file, it gives an error:
Error:Failed to execute child process "simpleCalculatorGUI" (No such file or directory)
setup.py file: from setuptools import setup setup( name='simpleCalculator', version='1.0', description='Simple calculator', long_description='Calculator that only supports one operation at a time', author='JustLucifer', license='MIT', packages=['simpleCalculatorGUI'], package_dir={'simpleCalculatorGUI': 'simpleCalculatorGUI/'}, install_requires=['PySimpleGUI'], classifiers=[ 'Programming Language :: Python :: 3', 'License :: OSI Approved :: MIT License', 'Environment :: Console', 'Operating System :: POSIX :: Linux' ], data_files=[('share/applications/', ['simpleCalculator.desktop'])], keywords='simple calculator gui', python_requires='>=3.8' )simpleCalculator.desktop file:
[Desktop Entry] Version=1.0 Type=Application Name=SimpleCalculator Exec=simpleCalculatorGUI Categories=Utility; Terminal=true StartupNotify=true StartupWMClass=simpleCalculatorGUIProject structure
. ├── LICENSE ├── MANIFEST.in ├── setup.py ├── simpleCalculator.desktop └── simpleCalculatorGUI ├── calculator.py ├── __init__.pyHow can I specify the path to the file? What do i need to change?
I followed this tutorial https://www.youtube.com/watch?v=bkfHQoVd...Zt&index=8