forked from openlp/openlp
The dependency-checking script may not give a valuable result, since
it runs against 'python' whereas openlp runs against 'python3'. It may appear at first glance that I removed the check for the 'bs4' import, but it was actually in the list twice, so I deleted the second. bzr-revno: 2293
This commit is contained in:
commit
02b7f232bc
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# vim: autoindent shiftwidth=4 expandtab textwidth=120 tabstop=4 softtabstop=4
|
# vim: autoindent shiftwidth=4 expandtab textwidth=120 tabstop=4 softtabstop=4
|
||||||
|
|
||||||
@ -49,7 +49,7 @@ except ImportError:
|
|||||||
IS_WIN = sys.platform.startswith('win')
|
IS_WIN = sys.platform.startswith('win')
|
||||||
|
|
||||||
VERS = {
|
VERS = {
|
||||||
'Python': '2.6',
|
'Python': '3.0',
|
||||||
'PyQt4': '4.6',
|
'PyQt4': '4.6',
|
||||||
'Qt4': '4.6',
|
'Qt4': '4.6',
|
||||||
'sqlalchemy': '0.5',
|
'sqlalchemy': '0.5',
|
||||||
@ -63,6 +63,7 @@ WIN32_MODULES = [
|
|||||||
'win32ui',
|
'win32ui',
|
||||||
'pywintypes',
|
'pywintypes',
|
||||||
'pyodbc',
|
'pyodbc',
|
||||||
|
'icu',
|
||||||
]
|
]
|
||||||
|
|
||||||
MODULES = [
|
MODULES = [
|
||||||
@ -76,6 +77,7 @@ MODULES = [
|
|||||||
'PyQt4.QtWebKit',
|
'PyQt4.QtWebKit',
|
||||||
'PyQt4.phonon',
|
'PyQt4.phonon',
|
||||||
'sqlalchemy',
|
'sqlalchemy',
|
||||||
|
'alembic',
|
||||||
'sqlite3',
|
'sqlite3',
|
||||||
'lxml',
|
'lxml',
|
||||||
'chardet',
|
'chardet',
|
||||||
@ -84,8 +86,6 @@ MODULES = [
|
|||||||
'mako',
|
'mako',
|
||||||
'cherrypy',
|
'cherrypy',
|
||||||
'uno',
|
'uno',
|
||||||
'icu',
|
|
||||||
'bs4',
|
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# vim: autoindent shiftwidth=4 expandtab textwidth=120 tabstop=4 softtabstop=4
|
# vim: autoindent shiftwidth=4 expandtab textwidth=120 tabstop=4 softtabstop=4
|
||||||
|
|
||||||
@ -102,7 +102,7 @@ class CommandStack(object):
|
|||||||
def __iter__(self):
|
def __iter__(self):
|
||||||
return self
|
return self
|
||||||
|
|
||||||
def next(self):
|
def __next__(self):
|
||||||
if self.current_index == len(self.data):
|
if self.current_index == len(self.data):
|
||||||
raise StopIteration
|
raise StopIteration
|
||||||
else:
|
else:
|
||||||
@ -145,9 +145,9 @@ def print_quiet(text, linefeed=True):
|
|||||||
global quiet_mode
|
global quiet_mode
|
||||||
if not quiet_mode:
|
if not quiet_mode:
|
||||||
if linefeed:
|
if linefeed:
|
||||||
print text
|
print(text)
|
||||||
else:
|
else:
|
||||||
print text,
|
print(text, end=' ')
|
||||||
|
|
||||||
def print_verbose(text):
|
def print_verbose(text):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user