1
0
Fork 0
mirror of https://github.com/kbumsik/VirtScreen.git synced 2025-03-09 15:40:18 +00:00

setup.py: install .desktop files, re-organized doc files to data

This commit is contained in:
Bumsik Kim 2018-05-23 18:49:20 -04:00
parent be02f3dd4a
commit b8caf68ea8
No known key found for this signature in database
GPG key ID: E31041C8EC5B01C6
10 changed files with 23 additions and 8 deletions

View file

@ -177,8 +177,13 @@ setup(
# http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files
#
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
# data_files=[('my_data', ['data/data_file'])], # Optional
data_files=[
# Desktop entries spec:
# https://www.freedesktop.org/wiki/Specifications/desktop-entry-spec/
('/usr/share/applications', ['data/virtscreen.desktop']),
('/usr/share/pixmaps', ['data/virtscreen.png']),
# ('share/man/man1', ['man/virtscreen.1'])
], # Optional
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow