Panda3D
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Installer Class Reference

Public Member Functions

def __init__ (self, p3dfile, shortname, fullname, version, tokens={})
 
def __del__ (self)
 
def build (self, output, platform=None)
 
def buildAll (self, outputDir=".")
 
def buildAPP (self, output, platform)
 
def buildArch (self, output, platform)
 
def buildDEB (self, output, platform)
 
def buildNSIS (self, output, platform)
 
def buildPKG (self, output, platform)
 
def installPackagesInto (self, hostDir, platform)
 
def os_walk (self, top)
 

Public Attributes

 authoremail
 
 authorid
 
 authorname
 
 extracts
 
 fullname
 
 hostUrl
 
 icon
 
 includeRequires
 
 licensefile
 
 licensename
 
 offerDesktopShortcut
 
 offerRun
 
 p3dFilename
 
 requires
 
 shortname
 
 standalone
 
 tempDir
 
 version
 

Static Public Attributes

 notify = directNotify.newCategory("Installer")
 

Detailed Description

This class creates a (graphical) installer from a given .p3d file. 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  p3dfile,
  shortname,
  fullname,
  version,
  tokens = {} 
)

◆ __del__()

def __del__ (   self)

Member Function Documentation

◆ build()

def build (   self,
  output,
  platform = None 
)
Builds (graphical) installers and stores it into the path
indicated by the 'output' argument. You can specify to build for
a different platform by altering the 'platform' argument.
If 'output' is a directory, the installer will be stored in it. 

◆ buildAll()

def buildAll (   self,
  outputDir = "." 
)
Creates a (graphical) installer for every known platform.
Call this after you have set the desired parameters. 

◆ buildAPP()

def buildAPP (   self,
  output,
  platform 
)

◆ buildArch()

def buildArch (   self,
  output,
  platform 
)
Builds an ArchLinux package and stores it in the path
indicated by the 'output' argument. It will be built for the
architecture specified by the 'arch' argument.
If 'output' is a directory, the deb file will be stored in it. 

◆ buildDEB()

def buildDEB (   self,
  output,
  platform 
)
Builds a .deb archive and stores it in the path indicated
by the 'output' argument. It will be built for the architecture
specified by the 'arch' argument.
If 'output' is a directory, the deb file will be stored in it. 

◆ buildNSIS()

def buildNSIS (   self,
  output,
  platform 
)

◆ buildPKG()

def buildPKG (   self,
  output,
  platform 
)

◆ installPackagesInto()

def installPackagesInto (   self,
  hostDir,
  platform 
)
Installs the packages required by the .p3d file into
the specified directory, for the given platform. 

◆ os_walk()

def os_walk (   self,
  top 
)
Re-implements os.walk().  For some reason the built-in
definition is failing on Windows when this is run within a p3d
environment!? 

Member Data Documentation

◆ authoremail

authoremail

◆ authorid

authorid

◆ authorname

authorname

◆ extracts

extracts

◆ fullname

fullname

◆ hostUrl

hostUrl

◆ icon

icon

◆ includeRequires

includeRequires

◆ licensefile

licensefile

◆ licensename

licensename

◆ notify

notify = directNotify.newCategory("Installer")
static

◆ offerDesktopShortcut

offerDesktopShortcut

◆ offerRun

offerRun

◆ p3dFilename

p3dFilename

◆ requires

requires

◆ shortname

shortname

◆ standalone

standalone

◆ tempDir

tempDir

◆ version

version