Horizontal alignment for better visual effect.
svn: r19034
This commit is contained in:
parent
028dbd80e2
commit
f6b12cfc9a
22
setup.py
22
setup.py
@ -45,9 +45,9 @@ def modules_check ():
|
||||
try:
|
||||
import gtk.glade
|
||||
except RuntimeError:
|
||||
print 'Error importing GTK - is there no windowing environment available ?'
|
||||
print "We're going to ignore this error and live dangerously. Please make"
|
||||
print 'sure you have pygtk > 2.16 and gtk available!'
|
||||
print ("Error importing GTK - is there no windowing environment available ? \n"
|
||||
"We're going to ignore this error and live dangerously. Please make \n"
|
||||
"sure you have pygtk > 2.16 and gtk available!")
|
||||
except ImportError:
|
||||
raise
|
||||
mod_list = [#'metakit',
|
||||
@ -68,15 +68,15 @@ def modules_check ():
|
||||
have_mod = True
|
||||
if not have_mod:
|
||||
ok = False
|
||||
print 'Error: %s is Python module is required to install %s' \
|
||||
% (' or '.join(m), name.title())
|
||||
print ('Error: %s is Python module is required to install %s'
|
||||
% (' or '.join(m), name.title()))
|
||||
else:
|
||||
try:
|
||||
exec('import %s' % m)
|
||||
except ImportError:
|
||||
ok = False
|
||||
print 'Error: %s Python module is required to install %s' \
|
||||
% (m, name.title())
|
||||
print ('Error: %s Python module is required to install %s'
|
||||
% (m, name.title()))
|
||||
if not ok:
|
||||
sys.exit(1)
|
||||
|
||||
@ -233,7 +233,7 @@ def make_po ():
|
||||
os.makedirs(directory)
|
||||
if os.name == 'posix':
|
||||
os.system('msgfmt %s/%s.po -o %s' % (PO_DIR, lang, mo))
|
||||
print directory
|
||||
print (directory)
|
||||
|
||||
def trans_files ():
|
||||
translation_files = []
|
||||
@ -363,10 +363,10 @@ result = setup(
|
||||
name = name,
|
||||
version = version,
|
||||
description = 'Gramps (Genealogical Research and Analysis Management Programming System)',
|
||||
author = '',
|
||||
author_email = '',
|
||||
author = 'Gramps Development Team',
|
||||
author_email = 'don@gramps-project.org',
|
||||
url = 'http://gramps-project.org',
|
||||
license = 'GNU GPL v2',
|
||||
license = 'GNU GPL v2 or greater',
|
||||
packages = ['gramps',
|
||||
'gramps.cli',
|
||||
'gramps.data',
|
||||
|
Loading…
Reference in New Issue
Block a user