summaryrefslogtreecommitdiff
path: root/zephyr/zmake/setup.py
blob: 3786335f19a0e9b80d5f42b910f9c5aee71d354c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Copyright 2020 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

"""Configuration to allow pip install."""
import setuptools

setuptools.setup(
    name="zephyr-chrome-utils",
    version="0.1",
    description="CrOS Zephyr Utilities",
    long_description="Utilities used for working on a Zephyr-based EC",
    url="https://chromium.googlesource.com/chromiumos/platform/ec",
    author="Chromium OS Authors",
    author_email="chromiumos-dev@chromium.org",
    license="BSD",
    # What does your project relate to?
    keywords="chromeos",
    # You can just specify the packages manually here if your project is
    # simple. Or you can use find_packages().
    packages=["zmake"],
    python_requires=">=3.6, <4",
    # List run-time dependencies here.  These will be installed by pip when
    # your project is installed. For an analysis of "install_requires" vs pip's
    # requirements files see:
    # https://packaging.python.org/en/latest/requirements.html
    install_requires=[
        # Required until chroot upgrades to Python 3.7+.
        "dataclasses>=0.6; python_version < '3.7'",
    ],
    # To provide executable scripts, use entry points in preference to the
    # "scripts" keyword. Entry points provide cross-platform support and allow
    # pip to create the appropriate form of executable for the target platform.
    entry_points={
        "console_scripts": [
            "zmake=zmake.__main__:main",
        ],
    },
    extras_require={
        "tests": [
            "coverage",
            "pytest",
            "hypothesis",
            "testfixtures",
        ],
    },
)