# direct.p3d.DWBPackageInstaller¶

from direct.p3d.DWBPackageInstaller import DWBPackageInstaller


Deprecated since version 1.10.0: The p3d packaging system has been replaced with the new setuptools-based system. See the Distributing Panda3D Applications manual section.

Inheritance diagram

class DWBPackageInstaller(appRunner, parent=None, **kw)[source]

This class presents a PackageInstaller that also inherits from DirectWaitBar, so it updates its own GUI as it downloads.

Specify perPackage = True to make the progress bar reset for each package, or False (the default) to show one continuous progress bar for all packages.

Specify updateText = True (the default) to update the text label with the name of the package or False to leave it up to you to set it.

You can specify a callback function with finished = func; this function will be called, with one boolean parameter, when the download has completed. The parameter will be true on success, or false on failure.

__init__(self, appRunner, parent=None, **kw)[source]
cleanup(self)[source]
destroy(self)[source]
downloadFinished(self, success)[source]

This callback is made when all of the packages have been downloaded and installed (or there has been some failure). If all packages where successfully installed, success is True.

downloadProgress(self, overallProgress)[source]
packageProgress(self, package, progress)[source]
packageStarted(self, package)[source]