Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Select what to run.

  • Script
  • Module
  • Command

Command Line Version

Select the version of the Python command line that is installed on the agent. Some other settings and options may be unavailable depending which the command line version is selected.

Use command line executable in virtual environment scripts folder if it exists.

If this is ticked and exists, the pip executable in the virtual environment scripts folder will be used instead.

Using 

The Using drop down is populated by any property collector properties whose namespace matches the pattern defined by the Python action. The pattern for this action is ^Python\..*. The default property collector searches the environment path for "python.exe".

...

Ignore all PYTHON* environment variables.

Visible only if the checkbox 'Run Python in isolated mode' is NOT ticked.

If this is ticked, all PYTHON* environment variables are ignored. This is implied if python is run in isolated mode. [-E]

Don't add the user site-packages directory to sys.path.

Visible only if the checkbox 'Run Python in isolated mode' is NOT ticked.

If this is ticked, the user site-packages directory is not added to the sys.path. This is implied if python is run in isolated mode. [-s]

Validation of Hash-Based .pyc Files

Slecetd the validaiton.

Control the validation behavior of hash-based .pyc files. [----check-hash-based-pycs]

  • Default - checked and unchecked hash-based bytecode cache files will be validated according to their default semantics.
  • Always - all hash-based .pyc files, whether checked or unchecked, will be validated against their corresponding source file.
  • Never - hash-based .pyc files will be validated against their corresponding source files.
  • Default - 
  • Always - 
  • Never -

Code Optimisation

Select the type level of code optimisation.

  • No code optimisation
  • Re
  • Remove assert statements and any code conditional on the value of __debug__ [-O]
  • Remove assert statements, any code conditional on the value of __debug__ and docstrings [-OO]Remove

Don't try to write .pyc files on the import of source modules.

If this is ticked, Python won’t try to write .pyc files on the import of source modules. [-B]

Turn on hash randomisation.

If this is ticked, hash randomisation is turned on. [-R]

Note that this option only has an effect if the PYTHONHASHSEED environment variable is set to 0, since hash randomisation is enabled by default.

Disable the import of the module site and the site-dependent manipulations of the sys.path that it entails.

If this is ticked, the import of the module site and the site-dependent manipulations of sys.path that it entails is disabled. Also, the manipulations are disabled if site is explicitly imported later. [-S]

Force the stdout and stderr streams to be unbuffered

...

.

If this is ticked, the stdout and stderr streams are forced to be unbuffered. [-u]

Skip the first line of the source.

If this is ticked, the first line of the source is skipped. This allows the use of non-UNix forms of #!cmd. This is intended for a DOS specific hack only. [-x]

Note that, with this option ticked, line numbers in error messages will be off by one.

Implementation Specific Options

If this is ticked, Enter any implementation-specific options. These can be predefined or arbitrary values. One per line. [-X]


Options

Verbosity

The amount of information detail to display in the build log. [-qqq v | -qq | -q | -vvv]

Log File

Byte / Literals Comparison

Whether to issue a warning or error when comparing bytes or bytearray with str or bytes with intThe path to a verbose appending log file. [-b | -logbb]

Disable the cache.

If this is ticked, the cache is disabled. [--no-cache-dir]

Cache Directory

The path to a directory to store the cache data. [--cache-dir]

Run pip in an isolated mode, ignoring environment variables and user configuration.

If this ticked, pip is run in an isolated mode, ignoring environment variables and user configuration. [--isolated]

Exists Action

Specify what to do if path already exists. [--exists-action]

...

Warning Control

This option controls how often warnings are output to stderr. Leave blank to default to one warning for each source line where it occurs. [-W]

...


Timeout (in seconds) 

How many seconds to wait for the action to finish before timing out. The default is 86400 seconds (24 hours).

...

If this is ticked, any warnings logged will not mark the action with a warning status. [-W]

Individual warnings filters are specified as a sequence of fields separated by colons: 'action:message:category:module:line'.


Environment

Environment Variables

...