nanobox-io / nanobox-engine-python

Engine for running Python apps on Nanobox
https://nanobox.io
MIT License
12 stars 13 forks source link
boxfile developer-tools development-environment devtools docker nanobox python-apps python-engine python-runtime

Python

This is a Python engine for developing python apps on Nanobox.

Usage

To use the Python engine, specify python as your engine in your boxfile.yml

run.config:
  engine: python

Configuration Options

This engine exposes configuration options through the boxfile.yml, a yaml config file used to provision and configure your app's infrastructure when using Nanobox.

Python Settings

The following setting allows you to define your Python runtime environment.

runtime

Specifies which Python runtime and version to use. The following runtimes are available:

run.config:
  engine.config:
    runtime: python-3.5

pip_install

Allows for a custom user-defined pip install command.

note: The custom pip install command should always include -I to ensure the binaries get copied on each build.

run.config:
  engine.config:
    pip_install: 'pip install --index-url https://my.custom.index -r requirements/private.txt -I'

Help & Support

This is a Python engine provided by Nanobox. If you need help with this engine, you can reach out to us in the #nanobox IRC channel. If you are running into an issue with the engine, feel free to create a new issue on this project.