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 *
|
recursive-include data *
|
||||||
include bin/key-mapper-gtk
|
include bin/key-mapper-gtk
|
||||||
include bin/key-mapper-service
|
include bin/key-mapper-service
|
10
build.sh
10
build.sh
@ -3,7 +3,9 @@
|
|||||||
# build the .deb and .appimage files
|
# build the .deb and .appimage files
|
||||||
# https://ubuntuforums.org/showthread.php?t=1002909
|
# https://ubuntuforums.org/showthread.php?t=1002909
|
||||||
|
|
||||||
python3 setup.py sdist
|
python3 setup.py sdist --dist-dir deb
|
||||||
cd dist
|
tar -C deb -xzf dist/key-mapper-0.1.0.tar.gz
|
||||||
tar -xzf key-mapper-0.1.0.tar.gz
|
cp deb/DEBIAN deb/key-mapper-0.1.0 -r
|
||||||
cd key-mapper-0.1.0
|
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
|
import glob
|
||||||
from distutils.core import setup
|
from setuptools import setup
|
||||||
|
|
||||||
|
with open('README.md', 'r') as f:
|
||||||
|
long_description = f.read()
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='key-mapper',
|
name='key-mapper',
|
||||||
@ -45,4 +47,6 @@ setup(
|
|||||||
'bin/key-mapper-gtk',
|
'bin/key-mapper-gtk',
|
||||||
'bin/key-mapper-service'
|
'bin/key-mapper-service'
|
||||||
],
|
],
|
||||||
|
long_description=long_description,
|
||||||
|
long_description_content_type='text/markdown'
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user