comparison README @ 67:146d14ab15e7

Debug output: off by default, on with VAMPY_VERBOSE environment variable
author Chris Cannam
date Mon, 17 Nov 2014 10:03:44 +0000
parents 5664fe298af2
children 6c755f3e1173
comparison
equal deleted inserted replaced
66:5664fe298af2 67:146d14ab15e7
103 OK for using the plugin with Numpy 1.1, 1.2 and 1.3 103 OK for using the plugin with Numpy 1.1, 1.2 and 1.3
104 104
105 simple debugging (for developers): 105 simple debugging (for developers):
106 _DEBUG : print more detailed messages while Vampy is in use 106 _DEBUG : print more detailed messages while Vampy is in use
107 _DEBUG_VALUES : print all converted values to stderr 107 _DEBUG_VALUES : print all converted values to stderr
108
109 (But note that basic debug messages are compiled in already, and
110 will be displayed if the environment variable VAMPY_VERBOSE is set.)
108 111
109 112
110 UPDATES IN THIS VERSION (Vampy 2.0): 113 UPDATES IN THIS VERSION (Vampy 2.0):
111 114
112 * More complete, two-way Numpy support 115 * More complete, two-way Numpy support
495 self.vampy_flags = vf_DEBUG | vf_ARRAY | vf_REALTIME 498 self.vampy_flags = vf_DEBUG | vf_ARRAY | vf_REALTIME
496 499
497 500
498 ENVIRONMENT VARIABLES: 501 ENVIRONMENT VARIABLES:
499 502
500 Vampy recognises three optional environment variables: 503 Vampy recognises these optional environment variables:
501 504
505 VAMPY_VERBOSE if set at all, print out debug info to stderr
506
502 VAMPY_COMPILED=1 recognise byte compiled python plugins (default) 507 VAMPY_COMPILED=1 recognise byte compiled python plugins (default)
503 VAMPY_COMPILED=0 ignore them 508 VAMPY_COMPILED=0 ignore them
504 509
505 VAMPY_EXTPATH: if given, searches this path for vampy plugins. 510 VAMPY_EXTPATH: if given, searches this path for vampy plugins.
506 This is useful if you want to keep your python plugins 511 This is useful if you want to keep your python plugins