Tom Wai-Hong Tam | d857757 | 2014-02-26 10:06:34 +0800 | [diff] [blame] | 1 | # Copyright (c) 2014 The Chromium OS Authors. All rights reserved. |
| 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | """Setup script to distribute and install Chameleond library and scripts.""" |
| 5 | |
Joseph Hwang | 6a74630 | 2016-06-15 17:46:48 +0800 | [diff] [blame] | 6 | # Needs to import setup from setuptools instead of distutils.core |
| 7 | # in order to use the install_requires argument. |
| 8 | from setuptools import setup |
Tom Wai-Hong Tam | d857757 | 2014-02-26 10:06:34 +0800 | [diff] [blame] | 9 | |
| 10 | setup( |
Tom Wai-Hong Tam | 0d12884 | 2015-01-14 07:13:45 +0800 | [diff] [blame] | 11 | name='chameleond', |
| 12 | version='0.0.2', |
| 13 | packages=['chameleond', 'chameleond.drivers', 'chameleond.utils'], |
Johny Lin | 9d1be88 | 2016-04-01 16:03:01 +0800 | [diff] [blame] | 14 | package_data={'chameleond': ['data/*.bin', 'data/*.bitmap']}, |
Tom Wai-Hong Tam | 0d12884 | 2015-01-14 07:13:45 +0800 | [diff] [blame] | 15 | url='http://www.chromium.org', |
| 16 | maintainer='chromium os', |
| 17 | maintainer_email='chromium-os-dev@chromium.org', |
| 18 | license='Chromium', |
| 19 | description='Server to communicate and control Chameleon board.', |
| 20 | long_description='Server to communicate and control Chameleon board.', |
Joseph Hwang | 6a74630 | 2016-06-15 17:46:48 +0800 | [diff] [blame] | 21 | # Uses pyserial version 2.7. The newer 3.x version is not compatible |
| 22 | # with chameleond/utils/serial_utils.py |
| 23 | install_requires=['pyserial==2.7',], |
Johny Lin | 9d1be88 | 2016-04-01 16:03:01 +0800 | [diff] [blame] | 24 | scripts=['utils/run_chameleond', 'utils/run_displayd'] |
Tom Wai-Hong Tam | d857757 | 2014-02-26 10:06:34 +0800 | [diff] [blame] | 25 | ) |