python tests: remove either paths.py data or env settings for fonts/plugins

This commit is contained in:
Dane Springmeyer 2014-10-15 18:40:07 -07:00
parent 4e8125d2ad
commit fa18783bf5

View file

@ -57,8 +57,14 @@ def main():
print("- mapnik path: %s" % mapnik.__file__)
if hasattr(mapnik,'_mapnik'):
print("- _mapnik.so path: %s" % mapnik._mapnik.__file__)
print("- Input plugins path: %s" % mapnik.inputpluginspath)
if hasattr(mapnik,'inputpluginspath'):
print ("- Input plugins path: %s" % mapnik.inputpluginspath)
if os.environ.has_key('MAPNIK_INPUT_PLUGINS_DIRECTORY'):
print ("- MAPNIK_INPUT_PLUGINS_DIRECTORY env: %s" % os.environ.get('MAPNIK_INPUT_PLUGINS_DIRECTORY'))
if hasattr(mapnik,'fontscollectionpath'):
print("- Font path: %s" % mapnik.fontscollectionpath)
if os.environ.has_key('MAPNIK_FONT_DIRECTORY'):
print ("- MAPNIK_FONT_DIRECTORY env: %s" % os.environ.get('MAPNIK_FONT_DIRECTORY'))
print('')
print("- Running nosetests:")
print('')