FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We have started the migration process.
This community is now in READ ONLY mode.
Read more: Important
information on the platform change.
06-22-2021 03:26 PM - last edited on 06-23-2021 03:06 PM by CodeShepherd
EDIT by CodeShepherd: Post was moved to own topic from this thread.
Hey CodeShepherd,
thanks for your solution! But how does it work with the python wheel in the SDK you´ve said?
Greetings
Yannic
Solved! Go to Solution.
06-22-2021 05:07 PM - edited 06-23-2021 03:06 PM
You will have to build your own app and install it on the ctrlX CORE. This app then can be provider and client of data. Please have a look in the documentation of the SDK for ctrlX AUTOMATION. It will be available on GitHub soon.
09-22-2021 08:19 PM
@CodeShepherd, is it possible to load a pacake into a python instance without building it into a snap? If a root user installs a package is it availble to all python instances on the core? If a snap is created that has the required packages and installs them for the snap to run, are those packages now available for other scripts?
I am imagining an app that only serves to load packages for my python instances I run from the core independent of an app.
09-27-2021 10:26 AM - edited 09-27-2021 02:01 PM
The best way would always be to pack everything together in one app. If you have more than one application that use the same packages also this is the way to go. You can add several in one single app.
You cannot extend the standard python interpreter that is part of the ctrlX CORE - Python Runtime App. Also there is no mechanism to install a package globally on the ctrlX CORE.
There are two cases where you create dependencies that would dissent to the idea of the snap technology. (Snaps are app packages for desktop, cloud and IoT that are easy to install, secure, cross-platform and dependency-free.):