python tests: remove either paths.py data or env settings for fonts/plugins
This commit is contained in:
parent
4e8125d2ad
commit
fa18783bf5
1 changed files with 8 additions and 2 deletions
|
@ -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('')
|
||||
|
|
Loading…
Reference in a new issue