Skip to main content

exit if not Linux

Project description

Install

$ [sudo] pip install linux-only

Examples

tests/linux_example.py

import linux_only
print("hello world")

Linux

$ python tests/linux_example.py
hello world

Windows

$ python.exe tests/linux_example.py
SKIP: not Linux

Project details


Release history Release notifications

This version
History Node

0.0.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
linux_only-0.0.0-py2.py3-none-any.whl (2.4 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Oct 8, 2018
linux-only-0.0.0.tar.gz (1.1 kB) Copy SHA256 hash SHA256 Source None Oct 8, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page