mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 18:00:35 +00:00

configuration is like "pip_install": {"packages": ["a_package", "another_package==1.0.1"]} Installs build-essential and python-dev
12 lines
317 B
Python
12 lines
317 B
Python
import tasks
|
|
|
|
|
|
def validate_manifest(data, validator, error):
|
|
import os.path
|
|
schema_path = os.path.normpath(os.path.join(os.path.dirname(__file__), 'manifest-schema.json'))
|
|
validator(data, schema_path)
|
|
|
|
|
|
def resolve_tasks(taskset, manifest):
|
|
taskset.add(tasks.AddPipPackage)
|
|
taskset.add(tasks.PipInstallCommand)
|