wip debian package

This commit is contained in:
sezanzeb 2020-11-29 12:05:54 +01:00
parent 2231a5320b
commit e792f0e1bf
3 changed files with 12 additions and 5 deletions

View File

@ -1,3 +1,4 @@
# for `python3 setup.py sdist`
recursive-include data *
include bin/key-mapper-gtk
include bin/key-mapper-service

View File

@ -3,7 +3,9 @@
# build the .deb and .appimage files
# https://ubuntuforums.org/showthread.php?t=1002909
python3 setup.py sdist
cd dist
tar -xzf key-mapper-0.1.0.tar.gz
cd key-mapper-0.1.0
python3 setup.py sdist --dist-dir deb
tar -C deb -xzf dist/key-mapper-0.1.0.tar.gz
cp deb/DEBIAN deb/key-mapper-0.1.0 -r
dpkg-deb -b deb/key-mapper-0.1.0/ key-mapper-0.1.0.deb
rm deb/key-mapper-0.1.0 -r

View File

@ -20,8 +20,10 @@
import glob
from distutils.core import setup
from setuptools import setup
with open('README.md', 'r') as f:
long_description = f.read()
setup(
name='key-mapper',
@ -45,4 +47,6 @@ setup(
'bin/key-mapper-gtk',
'bin/key-mapper-service'
],
long_description=long_description,
long_description_content_type='text/markdown'
)