Skip to main content
Version: 2.5 (deprecated)

lambdex


A tool for turning .pex files into AWS Lambdas (https://github.com/wickman/lambdex).

Backend: ``

Config section: [lambdex]

Basic options

None

Advanced options

console_script

--lambdex-console-script=<str>
PANTS_LAMBDEX_CONSOLE_SCRIPT
pants.toml
[lambdex]
console_script = <str>
default: lambdex

The console script for the tool. Using this option is generally preferable to (and mutually exclusive with) specifying an --entry-point since console script names have a higher expectation of staying stable across releases of the tool. Usually, you will not want to change this from the default.

entry_point

--lambdex-entry-point=<str>
PANTS_LAMBDEX_ENTRY_POINT
pants.toml
[lambdex]
entry_point = <str>
default: None

The entry point for the tool. Generally you only want to use this option if the tool does not offer a --console-script (which this option is mutually exclusive with). Usually, you will not want to change this from the default.

extra_requirements

--lambdex-extra-requirements="['<str>', '<str>', ...]"
PANTS_LAMBDEX_EXTRA_REQUIREMENTS
pants.toml
[lambdex]
extra_requirements = [
'<str>',
'<str>',
...,
]
default: []

Any additional requirement strings to use with the tool. This is useful if the tool allows you to install plugins or if you need to constrain a dependency to a certain version.

interpreter_constraints

--lambdex-interpreter-constraints="['<str>', '<str>', ...]"
PANTS_LAMBDEX_INTERPRETER_CONSTRAINTS
pants.toml
[lambdex]
interpreter_constraints = [
'<str>',
'<str>',
...,
]
default:
[
  "CPython>=3.6"
]

Python interpreter constraints for this tool.

version

--lambdex-version=<str>
PANTS_LAMBDEX_VERSION
pants.toml
[lambdex]
version = <str>
default: lambdex==0.1.4

Requirement string for the tool.

Deprecated options

None

None