Add menu entry .desktop file and some source tarball and script fixes.

https://code.launchpad.net/~mgorven/openlp/menu-entry/+merge/19978

bzr-revno: 713
This commit is contained in:
Michael Gorven 2010-02-23 18:57:51 +02:00
commit 668ca4ae4d
3 changed files with 16 additions and 2 deletions

View File

@ -6,6 +6,7 @@ recursive-include resources/forms *
recursive-include resources/i18n *
recursive-include resources/images *
recursive-include scripts *.py
include resources/*.desktop
include copyright.txt
include LICENSE
include version.txt
include openlp/.version

10
resources/openlp.desktop Normal file
View File

@ -0,0 +1,10 @@
[Desktop Entry]
Encoding=UTF-8
Name=OpenLP
GenericName=Church lyrics projection
Exec=openlp
Icon=openlp
StartupNotify=true
Terminal=False
Type=Application
Categories=AudioVideo

5
setup.py Normal file → Executable file
View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
from setuptools import setup, find_packages
import sys, os
@ -25,7 +27,7 @@ try:
finally:
b.unlock()
except:
ver_file = open(VERSION_FILE, u'w')
ver_file = open(VERSION_FILE, u'r')
version = ver_file.read().strip()
ver_file.close()
@ -43,6 +45,7 @@ OpenLP (previously openlp.org) is free church presentation software, or lyrics p
url='http://openlp.org/',
license='GNU General Public License',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
scripts=['openlp.pyw', 'scripts/openlp-1to2-converter.py', 'scripts/bible-1to2-converter.py'],
include_package_data=True,
zip_safe=False,
install_requires=[