From f5773e74d536f8c5350c96fcfbe8b8e6ce0009da Mon Sep 17 00:00:00 2001 From: Aseda Aboagye Date: Tue, 1 Dec 2015 14:00:38 -0800 Subject: ec3po: Add setup script. This commit adds a setup script for the ec3po package. This is necessary such that ec3po can be included as a part of ec-devutils. BUG=chrome-os-partner:46054 BRANCH=None TEST=Update the ec-devutils ebuild to install the ec3po package. sudo emerge ec-devutils; `python -c 'import ec3po'; print ec3po` in the chroot. Verify that ec3po is installed in the site-packages. TEST=Verify that interpreter and console modules are exported in the package. CQ-DEPEND=CL:316479 Change-Id: I5c8856b530936dc4ce3b09e38802f1e015c4576b Signed-off-by: Aseda Aboagye Reviewed-on: https://chromium-review.googlesource.com/316701 Commit-Ready: Aseda Aboagye Tested-by: Aseda Aboagye Reviewed-by: Randall Spangler Reviewed-by: Mike Frysinger --- setup.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 setup.py (limited to 'setup.py') diff --git a/setup.py b/setup.py new file mode 100644 index 0000000000..29e46f5805 --- /dev/null +++ b/setup.py @@ -0,0 +1,17 @@ +# Copyright 2015 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. + +from setuptools import setup + +setup( + name="ec3po", + version="1.0.0rc1", + author="Aseda Aboagye", + author_email="aaboagye@chromium.org", + url="https://www.chromium.org/chromium-os/ec-development", + package_dir={"" : "util"}, + packages=["ec3po"], + py_modules=["ec3po.console", "ec3po.interpreter"], + description="EC console interpreter.", +) -- cgit v1.2.1