-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Note: this page is the same as the readme.
The package manager for NerdOS.
Note: this is currently a work in progress.
There are two ways to install OSP.
Installing OSP is easy.
Run this in a terminal:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/spartanproj/OSP/main/install.sh)"
The script does not download a binary, but instead downloads the source code and then compiles it.
If you're planning to develop on OSP or scared that we'll install a virus or something, you can build OSP from source.
-
Clone the repository:
git clone https://github.com/spartanproj/OSP
-
Install
nuitka
:pip install nuitka
-
Build using Nuitka.
python3 -m nuitka --standalone|--onefile <path/to/main.py>
Note: using
--standalone
compiles a binary inmain.dist
and the libraries inmain.build
, requiring them both. Using--onefile
allows you to have one file,main.bin
, but is slower as it has to unarchive the libraries into your temporary folder. The script uses the--standalone
parameter for performance. -
Move the file(s) to your desired location.
See this page.
Use osp -h
or consult the wiki here.
NerdOS's package manager - osp
.