forked from openlp/openlp
Optionally depend on launchpadlib
This commit is contained in:
parent
e124229040
commit
ba01cd35e1
@ -112,8 +112,8 @@ class UiAboutDialog(object):
|
|||||||
'Andreas "googol" Preikschat', 'Ken "alisonken1" Roberts', 'Raoul "superfly" Snyman',
|
'Andreas "googol" Preikschat', 'Ken "alisonken1" Roberts', 'Raoul "superfly" Snyman',
|
||||||
'Jonathan "springermac" Springer', 'Philip "Phill" Ridout']
|
'Jonathan "springermac" Springer', 'Philip "Phill" Ridout']
|
||||||
contributors = ['Stuart "sibecker" Becker', 'Gerald "jerryb" Britton', 'Jonathan "gushie" Corwin',
|
contributors = ['Stuart "sibecker" Becker', 'Gerald "jerryb" Britton', 'Jonathan "gushie" Corwin',
|
||||||
'Samuel "MrGamgee" Findlay', 'Michael "cocooncrash" Gorven', 'Scott "sguerrieri" Guerrieri',
|
'Samuel "MrGamgee" Findlay', 'Bastian Germann', 'Michael "cocooncrash" Gorven',
|
||||||
'Simon Hanna', 'Chris Hill',
|
'Scott "sguerrieri" Guerrieri', 'Simon Hanna', 'Chris Hill',
|
||||||
'Matthias "matthub" Hub', 'Meinert "m2j" Jordan', 'Ian Knightly'
|
'Matthias "matthub" Hub', 'Meinert "m2j" Jordan', 'Ian Knightly'
|
||||||
'Armin "orangeshirt" K\xf6hler',
|
'Armin "orangeshirt" K\xf6hler',
|
||||||
'Rafael "rafaellerm" Lerm', 'Gabriel loo', 'Erik "luen" Lundin', 'Edwin "edwinlunando" Lunando',
|
'Rafael "rafaellerm" Lerm', 'Gabriel loo', 'Erik "luen" Lundin', 'Edwin "edwinlunando" Lunando',
|
||||||
|
@ -97,11 +97,12 @@ OPTIONAL_MODULES = [
|
|||||||
('mysql.connector', '(MySQL support)'),
|
('mysql.connector', '(MySQL support)'),
|
||||||
('pyodbc', '(ODBC support)'),
|
('pyodbc', '(ODBC support)'),
|
||||||
('psycopg2', '(PostgreSQL support)'),
|
('psycopg2', '(PostgreSQL support)'),
|
||||||
('jenkins', '(access jenkins api - package name: jenkins-webapi)'),
|
|
||||||
('enchant', '(spell checker)'),
|
('enchant', '(spell checker)'),
|
||||||
('pysword', '(import SWORD bibles)'),
|
('pysword', '(import SWORD bibles)'),
|
||||||
('uno', '(LibreOffice/OpenOffice support)'),
|
('uno', '(LibreOffice/OpenOffice support)'),
|
||||||
# development/testing modules
|
# development/testing modules
|
||||||
|
('jenkins', '(access jenkins api)'),
|
||||||
|
('launchpadlib', '(launchpad script support)'),
|
||||||
('nose2', '(testing framework)'),
|
('nose2', '(testing framework)'),
|
||||||
('pylint', '(linter)')
|
('pylint', '(linter)')
|
||||||
]
|
]
|
||||||
|
9
setup.py
9
setup.py
@ -138,6 +138,7 @@ elif sys.platform.startswith('darwin'):
|
|||||||
'pyobjc-framework-Cocoa'
|
'pyobjc-framework-Cocoa'
|
||||||
])
|
])
|
||||||
elif sys.platform.startswith('linux'):
|
elif sys.platform.startswith('linux'):
|
||||||
|
# dbus-python could be replaced by PyQt5.QtDBus
|
||||||
requires.append('dbus-python')
|
requires.append('dbus-python')
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
@ -194,14 +195,16 @@ using a computer and a data projector.""",
|
|||||||
python_requires='>=3.6',
|
python_requires='>=3.6',
|
||||||
install_requires=requires,
|
install_requires=requires,
|
||||||
extras_require={
|
extras_require={
|
||||||
'jenkins': ['python-jenkins'],
|
|
||||||
'mysql': ['mysql-connector-python'],
|
'mysql': ['mysql-connector-python'],
|
||||||
'odbc': ['pyodbc'],
|
'odbc': ['pyodbc'],
|
||||||
'postgresql': ['psycopg2'],
|
'postgresql': ['psycopg2'],
|
||||||
'spellcheck': ['pyenchant >= 1.6'],
|
'spellcheck': ['pyenchant >= 1.6'],
|
||||||
'sword-bibles': ['pysword']
|
'sword-bibles': ['pysword'],
|
||||||
|
# Required for scripts/*.py:
|
||||||
|
'jenkins': ['python-jenkins'],
|
||||||
|
'launchpad': ['launchpadlib']
|
||||||
},
|
},
|
||||||
tests_require=['nose2', 'PyICU', 'pylint'],
|
tests_require=['nose2', 'PyICU', 'pylint', 'pyodbc', 'pysword'],
|
||||||
test_suite='nose2.collector.collector',
|
test_suite='nose2.collector.collector',
|
||||||
entry_points={'gui_scripts': ['openlp = openlp.__main__:start']}
|
entry_points={'gui_scripts': ['openlp = openlp.__main__:start']}
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user