forked from openlp/openlp
Working on a "Source Distribution" - aka source tarball
This commit is contained in:
parent
cd51454628
commit
33d0227041
11
MANIFEST.in
Normal file
11
MANIFEST.in
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
recursive-include openlp *.py
|
||||||
|
recursive-include openlp *.sqlite
|
||||||
|
recursive-include openlp *.csv
|
||||||
|
recursive-include documentation *
|
||||||
|
recursive-include resources/forms *
|
||||||
|
recursive-include resources/i18n *
|
||||||
|
recursive-include resources/images *
|
||||||
|
recursive-include scripts *.py
|
||||||
|
include copyright.txt
|
||||||
|
include LICENSE
|
||||||
|
include version.txt
|
69
setup.py
69
setup.py
@ -1,38 +1,41 @@
|
|||||||
# -*- coding: utf-8 -*-
|
from setuptools import setup, find_packages
|
||||||
# vim: autoindent shiftwidth=4 expandtab textwidth=80 tabstop=4 softtabstop=4
|
import sys, os
|
||||||
|
|
||||||
###############################################################################
|
VERSION_FILE = 'openlp/.version'
|
||||||
# OpenLP - Open Source Lyrics Projection #
|
|
||||||
# --------------------------------------------------------------------------- #
|
|
||||||
# Copyright (c) 2008-2010 Raoul Snyman #
|
|
||||||
# Portions copyright (c) 2008-2010 Tim Bentley, Jonathan Corwin, Michael #
|
|
||||||
# Gorven, Scott Guerrieri, Maikel Stuivenberg, Martin Thompson, Jon Tibble, #
|
|
||||||
# Carsten Tinggaard #
|
|
||||||
# --------------------------------------------------------------------------- #
|
|
||||||
# This program is free software; you can redistribute it and/or modify it #
|
|
||||||
# under the terms of the GNU General Public License as published by the Free #
|
|
||||||
# Software Foundation; version 2 of the License. #
|
|
||||||
# #
|
|
||||||
# This program is distributed in the hope that it will be useful, but WITHOUT #
|
|
||||||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or #
|
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for #
|
|
||||||
# more details. #
|
|
||||||
# #
|
|
||||||
# You should have received a copy of the GNU General Public License along #
|
|
||||||
# with this program; if not, write to the Free Software Foundation, Inc., 59 #
|
|
||||||
# Temple Place, Suite 330, Boston, MA 02111-1307 USA #
|
|
||||||
###############################################################################
|
|
||||||
|
|
||||||
from setuptools import setup
|
try:
|
||||||
|
from bzrlib.branch import Branch
|
||||||
|
b = Branch.open_containing('.')[0]
|
||||||
|
b.lock_read()
|
||||||
|
try:
|
||||||
|
revno = b.revno()
|
||||||
|
# Add the latest tag in here too
|
||||||
|
finally:
|
||||||
|
b.unlock()
|
||||||
|
except:
|
||||||
|
revno = 0
|
||||||
|
|
||||||
APP = ['openlp.pyw']
|
version = '1.9.1-bzr%s' % revno
|
||||||
OPTIONS = {'argv_emulation': True, 'includes': ['sip', 'PyQt4']}
|
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='openlp.org',
|
name='OpenLP',
|
||||||
version='1.9.0',
|
version=version,
|
||||||
url='http://www.openlp.org/',
|
description="Open source Church presentation and lyrics projection application.",
|
||||||
app=APP,
|
long_description="""\
|
||||||
options={'py2app': OPTIONS},
|
OpenLP (previously openlp.org) is free church presentation software, or lyrics projection software, used to display slides of songs, Bible verses, videos, images, and even presentations (if PowerPoint is installed) for church worship using a computer and a data projector.""",
|
||||||
setup_requires=['py2app'],
|
classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
|
||||||
)
|
keywords='open source church presentation lyrics projection song bible display project',
|
||||||
|
author='Raoul Snyman',
|
||||||
|
author_email='raoulsnyman@openlp.org',
|
||||||
|
url='http://openlp.org/',
|
||||||
|
license='GNU General Public License',
|
||||||
|
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
|
||||||
|
include_package_data=True,
|
||||||
|
zip_safe=False,
|
||||||
|
install_requires=[
|
||||||
|
# -*- Extra requirements: -*-
|
||||||
|
],
|
||||||
|
entry_points="""
|
||||||
|
# -*- Entry points: -*-
|
||||||
|
"""
|
||||||
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user