gummworld2.paths (version $Id: paths.py 407 2013-08-12 15:11:30Z stabbingfinger@gmail.com $) | index c:\cygwin64\home\bw\dev\python\dist\gummworld2\gamelib\gummworld2\paths.py |
paths.py - Path setup for Gummworld2 unit testing ONLY.
!! For game path setup, use the paths.py in the main program directory.
This module sets up the python library path for modules that want to do unit
tests in "if main..." blocks, where gamelib cannot be seen in the current
directory without this special path setup.
Typical usage:
if __name__ == '__main__':
import paths
import gamelib
... gamelib module stuff ...
if __name__ == '__main__':
... module unit test ...
Modules | ||||||
|
Data | ||
__all__ = ['progname', 'progdir'] __author__ = 'Gummbum, (c) 2011-2014' __version__ = '$Id: paths.py 407 2013-08-12 15:11:30Z stabbingfinger@gmail.com $' progdir = '' progname = 'make_docs' |
Author | ||
Gummbum, (c) 2011-2014 |