Library for Tao Python applications to check if the intended operating system is being used
You may either install a pre-built version of the package or build it yourself.
Pre-built packages are available on PyPI (for Windows and macOS) and in Tao-Repo.
To build the package manually, follow these steps:
- Install needed dependencies:
sudo pacman -S --needed python python-build python-colorama python-distro
- Clone this repository:
git clone https://github.com/Tao-Linux/python-istao.git
- Navigate to the repository directory:
cd python-istao
- Build the package:
python -m build
After the above command finishes, there should be package files in the dist/
directory.
Looking for the pacman
version of this package? That's in python-istao-PKGBUILD.
The library is intended to check if the operating system being used is Tao Linux. If it is not, it will exit, displaying an error.
First, import the package:
import istao
Then call the check function (usually at the very beginning of a given script):
istao.check()
This repository is licensed under the GPLv3 License. If you have found that Tao has violated any licenses or copyrights, please don't hesitate to open an issue on the repository/repositories that do so, and we will do our best to respond in a timely manner.