envvar

Attributes describing the current platform and user configuration.

This module provides standardized attributes that other parts of Pyomo can use to interrogate aspects of the current platform, and to find information about the current user configuration (including where to locate the main Pyomo configuration directory).

Module Attributes

is_native_windows

True if running in a "native" Windows environment

is_windows

True if running on Windows (native or cygwin)

is_osx

True if running on Mac/OSX

is_pypy

True if running under the PyPy interpreter

PYOMO_CONFIG_DIR

Absolute path to the user's Pyomo Configuration Directory.