-
Notifications
You must be signed in to change notification settings - Fork 2
packagesOLD
a package is a collection of files that can be installed on a PythonicOS system. packages can be installed from the PythonicOS package manager, pyton
. packages can be installed from a local file, or from the official repository.
right now you can only install packages from the official repo as the package manager is not yet finished and is in beta.
do note that this is a very early version of the package manager and is not yet finished. the order of this will change with further updates to the package manager.
make a python script that will be the main file of your package. this is the file that will be executed when the package is run. this file should be named <yourapp>.py
replacing <yourapp>
with the name of your app. this file should be in the root of your package folder.
please only have 1 python file in your package. if you need more than 1 file, please use a module.
your app should be hosted on a git repository. this is so that the package manager can download the package from the repository.
your repo should only contain the python script and any other files that are needed for your app to run should be included in the script.
make a issue on the official repo with your package name and repo link. this is so that the team can scan your package from the repo and add it to the official repo.
your package should be hosted on a git repository. this is so that the package manager can download the package from the repository.
if you want to intergrate your own apps to the repo you can do so by making a request with json to https://openstudiocorp.github.io/repo.json
wait for your package to be added to the official repo. this may take a while as the team has to scan your package to make sure it is safe to be added to the official repo.
install your package from the official repo using the package manager. you can do this by running pyton install <yourapp>
replacing <yourapp>
with the name of your app.
with appsonic you can launch your app by clicking on the start menu button, clicking on the app you want to launch, and clicking on the launch button.
your app should now be running!
please note pyton is still being developed and if you want to give it a go, clone the Development branch of the repo and run python3 pyton.py
in the terminal in the python/system/addons folder.