Panda3D

- Main Page
- Packages
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Public Attributes | Static Public Attributes

# Standalone Class Reference

List of all members.

## Public Member Functions
def | __init__
def | __del__
def | build
def | buildAll
def | embed
def | getExtraFiles
## Public Attributes
| basename
| host
| http
| p3dfile
| tempDir
| tokens
## Static Public Attributes
tuple | notify = directNotify.newCategory("Standalone")

## Detailed Description

    This class creates a standalone executable from a given .p3d file.

## Constructor & Destructor Documentation

def __init__ | ( |  | self,
|  |  | p3dfile,
|  |  | tokens = `{}`
| ) |  |

def __del__ | ( |  | self | ) |

## Member Function Documentation

def build | ( |  | self,
|  |  | output,
|  |  | platform = `None`,
|  |  | extraTokens = `{}`
| ) |  |

    Builds a standalone executable 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.

def buildAll | ( |  | self,
|  |  | outputDir = `"."`
| ) |  |

    Builds standalone executables for every known platform,
    into the specified output directory.

def embed | ( |  | self,
|  |  | output,
|  |  | p3dembed,
|  |  | extraTokens = `{}`
| ) |  |

    Embeds the p3d file into the provided p3dembed executable.
    This function is not really useful - use build() or buildAll() instead.

def getExtraFiles | ( |  | self,
|  |  | platform
| ) |  |

    Returns a list of extra files that will need to be included
    with the standalone executable in order for it to run, such as
    dependent libraries. The returned paths are full absolute paths.

## Member Data Documentation

basename

host

http

tuple notify = directNotify.newCategory("Standalone")`[static]`

p3dfile

tempDir

tokens

All Classes Namespaces Functions Variables Enumerations Enumerator Properties