benspaulding / nanobox-engine-python

Engine for running Python apps on Nanobox

Home Page:https://nanobox.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

  • python-2.7
  • python-3.4
  • python-3.5
  • python-3.6
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.

About

Engine for running Python apps on Nanobox

https://nanobox.io

License:Mozilla Public License 2.0


Languages

Language:Shell 83.8%Language:Roff 12.9%Language:Python 3.1%Language:Makefile 0.2%