def setOutputFilename( self, name ): check_for_path_or_none( name, 'The output filename must be a non-empty string, or None.' ) self.__outputFilename = name
def setLocalDir( self, localDir ): check_for_path_or_none( localDir, 'The local directory must be a nonempty string!' ) self.__localDir = localDir
def setUploadLocation( self, location ): check_for_path_or_none( location, 'The upload location must be a nonempty string!' ) self.__uploadLocation = location
def setSourcePath( self, path ): check_for_path_or_none( path, "Please specify a valid source path" ) self.__sourceLocation = path
def setDestinationPath( self, path ): check_for_path_or_none( path, "Please specify a valid destination path" ) self.__targetLocation = path
def setSourceDir( self, srcDir ): check_for_path_or_none( srcDir, 'The source directory needs to be a non-empty string!' ) self.__srcDir = srcDir
def setDocsDir( self, dir ): check_for_path_or_none( dir , 'The docs directory must be a non-empty string or path!' ) self.__docsDir = dir
def setHtmlOutputPath( self, path ): check_for_path_or_none( path, 'The HTML output path must be a file system path!' ) self.__htmlPath = path
def setPyLintRcFile( self, file ): check_for_path_or_none( file, 'The pylint RC file must be a path!' ) self.__rcFile = file
def setPackagesDir( self, path ): '''Return the packages directory for this object. All data files produced by the build should be stored in the packages directory.''' check_for_path_or_none( path, "The packages directory name must be a string containing a path name." ) self.__packagesDir = path
def setLogDir( self, path ): """Set the directory where all log information is stored.""" check_for_path_or_none( path, "The log directory name must be a string containing a path name." ) self.__logDir = path
def setTestProgram( self, program ): check_for_path_or_none( program, 'The test program must be a Python executable!' ) self.__program = program