seL4/tools/python-deps/setup.py
G. Branden Robinson 940b43b767 setup: add versioned dependency on pyaml
In commit 24131333ac ("trivial: disable
YAML loading warning"), an assumption was made that the version of pyaml
present was 5.1 or later; see https://msg.pyyaml.org/load .

Version the dependency.
2019-08-20 12:04:27 +10:00

56 lines
1.1 KiB
Python

#!/usr/bin/env python3
#
# Copyright 2017, Data61
# Commonwealth Scientific and Industrial Research Organisation (CSIRO)
# ABN 41 687 119 230.
#
# This software may be distributed and modified according to the terms of
# the BSD 2-Clause license. Note that NO WARRANTY is provided.
# See "LICENSE_BSD2.txt" for details.
#
# @TAG(DATA61_BSD)
#
"""
Setup script for dependency metapackage.
To add a python dependency, add it to the DEPS list below.
To publish to pypitest:
python setup.py sdist upload -r pypitest
To publish to pypi:
python setup.py sdist upload -r pypi
"""
from setuptools import setup
DEPS = [
'six',
'future',
'jinja2',
'lxml',
'ply',
'psutil',
'bs4',
'pyelftools',
'sh',
'pexpect',
'pyaml>=5.1',
'jsonschema',
'pyfdt',
'cmake-format==0.4.5',
'guardonce',
'autopep8==1.4.3'
]
setup(
name='sel4-deps',
version='0.2.5',
description='Metapackage for downloading build dependencies for the seL4 microkernel',
url="https://sel4.systems",
licence='BSD2',
author='TrustworthySystems',
author_email='Stephen.Sherratt@data61.csiro.au',
install_requires=DEPS,
)