summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorAseda Aboagye <aaboagye@google.com>2015-12-01 14:00:38 -0800
committerchrome-bot <chrome-bot@chromium.org>2015-12-08 20:05:05 -0800
commitf5773e74d536f8c5350c96fcfbe8b8e6ce0009da (patch)
treea4af12da77b209fc6d9adeab22ab221af8df3a45 /setup.py
parentc665d557cb3297fa95824ccd8549dd98541b3b80 (diff)
downloadchrome-ec-f5773e74d536f8c5350c96fcfbe8b8e6ce0009da.tar.gz
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 <aaboagye@google.com> Reviewed-on: https://chromium-review.googlesource.com/316701 Commit-Ready: Aseda Aboagye <aaboagye@chromium.org> Tested-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org> Reviewed-by: Mike Frysinger <vapier@chromium.org>
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py17
1 files changed, 17 insertions, 0 deletions
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.",
+)