mirror of
https://github.com/sezanzeb/input-remapper
synced 2024-11-18 03:25:52 +00:00
wip debian package
This commit is contained in:
parent
2231a5320b
commit
e792f0e1bf
@ -1,3 +1,4 @@
|
||||
# for `python3 setup.py sdist`
|
||||
recursive-include data *
|
||||
include bin/key-mapper-gtk
|
||||
include bin/key-mapper-service
|
10
build.sh
10
build.sh
@ -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
|
||||
|
||||
|
6
setup.py
6
setup.py
@ -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'
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user