Skip to main content

AppImage support for Panda3D

Project description

NOTE ==========================================================================

This works on Linux only.

INSTALLATION ==================================================================

pip install panda3d-appimage

USAGE =========================================================================

In your setup.py file, add the following:

from direct.dist.commands import bdist_apps
from p3d_appimage import AppImageBuilder

class BDistAppsCmd(bdist_apps):
def run(self):
bdist_apps.run(self)
AppImageBuilder(self).build()

setup(
...
cmdclass={"bdist_apps": BDistAppsCmd},
... )

EXAMPLE =======================================================================

Let's build an AppImage for the Panda3D's Asteroids example.

Modify the file setup.py
(https://github.com/panda3d/panda3d/blob/master/samples/asteroids/setup.py)
adding these lines:

from direct.dist.commands import bdist_apps
from p3d_appimage import AppImageBuilder

class BDistAppsCmd(bdist_apps):
def run(self):
bdist_apps.run(self)
AppImageBuilder(self).build()

setup(
...
cmdclass={"bdist_apps": BDistAppsCmd},
... )

Then, launch the standard Panda3D build command:

python setup.py bdist_apps

At the end of the process, you will get the builds created by Panda3D and your
AppImage in the dist/ folder. Do ./Asteroids-x86_64.AppImage to launch your
AppImage.

UPDATING APPIMAGES ============================================================

The builder can also update your AppImage. If you specify a zsync_path when you
invoke the AppImageBuilder's method build(), then you can Invoke the AppImage's
method update() in your application and this will update your AppImage.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

panda3d-appimage-0.1.0.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

panda3d_appimage-0.1.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file panda3d-appimage-0.1.0.tar.gz.

File metadata

  • Download URL: panda3d-appimage-0.1.0.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for panda3d-appimage-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fe10709b0583a84e73410e345e43893c59df912e4a09146639be713eccfcfc6c
MD5 8801a75fe84db3278ffcee0c6e206930
BLAKE2b-256 fa255bead4cd64933dc7f70c27dcfaa7345e7feca733dd455248e9b9d0ae9c3a

See more details on using hashes here.

File details

Details for the file panda3d_appimage-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: panda3d_appimage-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for panda3d_appimage-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1a4b52a532c7d3104728f53631e2f7b0065b07e5a36b6c818301ac89f90db3b3
MD5 c12f44acc4be95d79e0ab70a1855cdd9
BLAKE2b-256 57865c8c142c68eeef99d5491c9ea9bdd01d3d5e22846c9fb0d6ad28ffe734d1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page