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.
Metadata
Release files for panda3d-appimage 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| panda3d-appimage-0.1.2.tar.gz | 5.4 kB | Without provenance | Details for panda3d-appimage-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| panda3d_appimage-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for panda3d_appimage-0.1.2-py3-none-any.whl |
Total release size: 10.7 kB
Release files / panda3d-appimage-0.1.2.tar.gz
| Download URL | panda3d-appimage-0.1.2.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
788775902f32ff4ac713e8ff3bdeb084d9f564c5b218c978faa97e1f33ad9b12
|
|
BLAKE2b-256 checksum How to use checksums |
7fa8ccad479d3d63c5e5cdad1a2163e72901b041050a96dbdaf59670cc548a6a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Release files / panda3d_appimage-0.1.2-py3-none-any.whl
| Download URL | panda3d_appimage-0.1.2-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
70b1b332b023cb9fcd9e78c644abca77880b29749099d6084bcf2616378d7474
|
|
BLAKE2b-256 checksum How to use checksums |
f6ed0fe0d702d5302b58de97f9029e0c830a7cf34ef9ae2db300cd59ce4baaf8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.6
|
Security for panda3d-appimage 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.