seL4/tools/python-deps/setup.py
G. Branden Robinson 2b5c8d3f84 setup.py: depend on 'pyyaml', not 'pyaml'
In the pip namespace, 'pyaml' is "pretty-yaml", a YAML generator (but
not a YAML parser); 'pyyaml' (accessed with "import yaml"), a.k.a.
"PyYAML", is the YAML serialiser and reader we actually use.

Bump the minor version number per semantic versioning rules.  (One could
argue that we are "removing" pyaml (pretty-yaml) from our interface and
therefore a major version bump is required, but we weren't _actually_
using that module so I would argue that the introduction of 'pyyaml' is
the visible change.)

Thanks to Japheth Lim for identifying this issue.
2019-08-30 16:53:16 +10:00

57 lines
1.2 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',
'pyyaml>=5.1',
'jsonschema',
'pyfdt',
'cmake-format==0.4.5',
'guardonce',
'autopep8==1.4.3',
'libarchive-c',
]
setup(
name='sel4-deps',
version='0.4.0',
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,
)