Panda3D

Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
PackageTree Class Reference

## Public Member Functions
| __init__ (self, platform, hostDir, hostUrl)
| getHost (self, hostUrl)
| installPackage (self, name, version, hostUrl=None)

## Public Attributes
| hostDir = Filename(hostDir)
dict | hosts = {}
| hostUrl = hostUrl
| http = core.HTTPClient.getGlobalPtr()
dict | packages = {}
| platform = platform

## Detailed Description

     A class used internally to build a temporary package
    tree for inclusion into an installer.

## Constructor & Destructor Documentation

## ◆ __init__()

__init__ | ( |  | self,
|  |  | platform,
|  |  | hostDir,
|  |  | hostUrl )

## Member Function Documentation

## ◆ getHost()

getHost | ( |  | self,
|  |  | hostUrl )

## ◆ installPackage()

installPackage | ( |  | self,
|  |  | name,
|  |  | version,
|  |  | hostUrl = None )

     Installs the named package into the tree.

## Member Data Documentation

## ◆ hostDir

hostDir = Filename(hostDir)

## ◆ hosts

dict hosts = {}

## ◆ hostUrl

hostUrl = hostUrl

## ◆ http

http = core.HTTPClient.getGlobalPtr()

## ◆ packages

dict packages = {}

## ◆ platform

platform = platform