### Install stickytape Source: https://pypi.org/project/stickytape/0.2.1 Install stickytape using pip. Specify the version for exact installation. ```bash pip install stickytape==0.2.1 ``` -------------------------------- ### Install stickytape Source: https://pypi.org/project/stickytape Install the stickytape package using pip. This is the standard way to add the tool to your Python environment. ```bash pip install stickytape ``` -------------------------------- ### Use a specific Python binary for stickytape Source: https://pypi.org/project/stickytape When converting a script, you can specify a particular Python binary to use for analyzing sys.path, which is useful when working within virtual environments. ```bash stickytape scripts/blah --python-binary _virtualenv/bin/python --output-file /tmp/blah-standalone ``` -------------------------------- ### Output stickytape conversion to a file Source: https://pypi.org/project/stickytape Convert a Python script and its dependencies to a single file, directly specifying the output file path using the --output-file argument. ```bash stickytape scripts/blah --add-python-path . --output-file /tmp/blah-standalone ``` -------------------------------- ### Convert Python package to single script Source: https://pypi.org/project/stickytape Use stickytape to convert a Python script and its dependencies into a single-file Python script. Specify the script to convert and directories to search for modules. ```bash stickytape scripts/blah --add-python-path . > /tmp/blah-standalone ``` -------------------------------- ### Copy shebang from original script with stickytape Source: https://pypi.org/project/stickytape By default, stickytape uses '#!/usr/bin/env python' as the shebang. Use the --copy-shebang option to preserve the shebang from the original script. ```bash stickytape scripts/blah --copy-shebang --output-file /tmp/blah-standalone ``` -------------------------------- ### Explicitly include Python modules with stickytape Source: https://pypi.org/project/stickytape If stickytape cannot automatically detect dynamic imports, you can explicitly include modules using the --add-python-module argument. ```bash stickytape scripts/blah --add-python-module blah.util ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.