Add osmgpsmap to command line version information

svn: r17390
This commit is contained in:
Nick Hall 2011-05-03 14:38:54 +00:00
parent aa4d51f1e1
commit c3086e8700

View File

@ -191,6 +191,16 @@ def show_settings():
except ImportError: except ImportError:
cairover_str = 'not found' cairover_str = 'not found'
try:
import osmgpsmap
try:
osmgpsmap_str = osmgpsmap.__version__
except :# any failure to 'get' the version
osmgpsmap_str = 'unknown version'
except ImportError:
osmgpsmap_str = 'not found'
try: try:
import pyexiv2 import pyexiv2
try: try:
@ -266,6 +276,7 @@ def show_settings():
print ' bsddb : %s' % bsddb_str print ' bsddb : %s' % bsddb_str
print ' bsddb.db : %s' % bsddb_db_str print ' bsddb.db : %s' % bsddb_db_str
print ' cairo : %s' % cairover_str print ' cairo : %s' % cairover_str
print ' osmgpsmap : %s' % osmgpsmap_str
print ' pyexiv2 : %s' % pyexiv2_str print ' pyexiv2 : %s' % pyexiv2_str
print ' o.s. : %s' % operating_system print ' o.s. : %s' % operating_system
if kernel: if kernel: