[update, I found the solution, see answer below]
I made a GUI wrapper for protonvpn, a cmd program for Linux. dpkg -b gets me ProtonVPNgui.deb, which works fine. However, I have problems using debuild -S -sa to upload it to Launchpad.
As is, it won't build once uploaded with
dput, cf. the error msgI tried using
debuild -i -us -uc -bto build a .deb file for local testing, but it returns:dpkg-genchanges: error: binary build with no binary artifacts found; cannot distribute
Any ideas? This whole process is driving me nuts. (I use this tar.gz)

I figured it out myself. Create a .deb package locally for testing and upload the project to Launchchpad:
Create a launchpad user account.
Install dh-python with the package manager
Create the package source dir
mkdir myscript-0.1Copy your python3 script(s) (or the sample script below) to the source dir (don't use
!/usr/bin/python, use!/usr/bin/python3or!/usr/bin/python2and edit accordingly below)cp ~/myscript myscript-0.1cd myscript-0.1Sample script:
Create the packaging skeleton (debian/*)
dh_make -s --createorigRemove the example files
rm debian/*.ex debian/*.EX debian/README.*Add eventual binary files to include, e.g. gettext .mo files
mkdir myscript-0.1/sourceecho debian/locales/es/LC_MESSAGES/base.mo > myscript-0.1/source/include-binariesEdit debian/control
Replace its content with the following text:
debian/install must contain the script(or several, python, perl, etc., also eventual .desktop files for start menu shortcuts) to install as well as the target directories, each on a line
echo myscript usr/bin > debian/installEdit debian/rules
Replace its content with the following text:
Note: it's a TAB before dh $@, not four spaces!
Build the .deb package
debuild -us -ucYou will get a few Lintian warnings/errors but your package is ready to be used:
../myscript_0.1-1_all.debPrepare upload to Launchpad, insert your gdp fingerprint after -k
debuild -S -sa -k12345ABCUpload to Launchpad
dput ppa:[your ppa name]/ppa myscript_0.1-1_source.changesThis is an update to askubuntu.com/399552. It may take some error messages and googling till you're ready... C.f. the ...orig.tar.gz file at launchpad for the complete project.