Library for Meowix Python applications to check if the intended operating system is being used
Project description
Python Library: ismeowix
Library for Meowix Python applications to check if the intended operating system is being used
Installation
NOTE: Information in this section is currently inaccurate! Please give us some time to get the packages uploaded and sorted out before following these steps.
You may either install a pre-built version of the package or build it yourself.
Downloading a pre-built package
Pre-built packages are available on PyPI (for Windows and macOS) and in Meowix-Repo.
Building the package manually
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/Meowix-Linux/python-ismeowix.git
- Navigate to the repository directory:
cd python-ismeowix
- 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-ismeowix-PKGBUILD.
Usage in Python
The library is intended to check if the operating system being used is Meowix Linux. If it is not, it will exit, displaying an error.
First, import the package:
import ismeowix
Then call the check function (usually at the very beginning of a given script):
ismeowix.check()
License
This repository is licensed under the GPLv3 License. If you have found that Meowix 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.