diff --git a/data/revpicommander b/data/revpicommander index 0b4d77d..5457b18 100644 --- a/data/revpicommander +++ b/data/revpicommander @@ -1,9 +1,7 @@ #!/bin/sh -# Used to call the entry point, if packed with pybuild as application. -# PYBUILD_INSTALL_ARGS=--install-lib=/usr/share/revpicommander/ \ -# --install-scripts=/usr/share/revpicommander/ -# -# In that case the entry point will not find the revpicommander module in -# the python lib. +# This script will create the entry point 'revpicommander', which is defined +# in the setup.py script. If you want to install this python module as an +# application and not in the python standard library directory, you will need +# to use this script for /usr/bin. -exec "/usr/share/revpicommander/revpicommander-gui" "$@" +exec python3 /usr/share/revpicommander/revpicommander "$@" diff --git a/setup.py b/setup.py index 6b4c095..227874b 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ setup( ], entry_points={ 'gui_scripts': [ - 'revpicommander-gui = revpicommander.revpicommander:main', + 'revpicommander = revpicommander.revpicommander:main', ], },