Chih-Yu Huang | dbe89eb | 2015-11-11 17:01:03 +0800 | [diff] [blame] | 1 | #!/usr/bin/python |
| 2 | # Copyright 2015 The Chromium OS Authors. All rights reserved. |
| 3 | # Use of this source code is governed by a BSD-style license that can be |
| 4 | # found in the LICENSE file. |
| 5 | |
Chih-Yu Huang | b96328f | 2016-07-20 17:48:18 +0800 | [diff] [blame] | 6 | from setuptools import find_packages |
| 7 | from setuptools import setup |
Chih-Yu Huang | 9c9c6c6 | 2015-11-20 16:30:17 +0800 | [diff] [blame] | 8 | import os |
Chih-Yu Huang | dbe89eb | 2015-11-11 17:01:03 +0800 | [diff] [blame] | 9 | |
| 10 | PROJECT_NAME = 'graphyte' |
| 11 | PROJECT_DIR = os.path.join(PROJECT_NAME, os.path.dirname(__file__)) |
Chih-Yu Huang | b96328f | 2016-07-20 17:48:18 +0800 | [diff] [blame] | 12 | PACKAGES = find_packages() |
| 13 | PACKAGE_DATA = {package: ['*.json'] for package in PACKAGES} |
| 14 | PACKAGE_DATA[PROJECT_NAME].append('config_files/*') |
Chih-Yu Huang | dbe89eb | 2015-11-11 17:01:03 +0800 | [diff] [blame] | 15 | |
Chih-Yu Huang | dbe89eb | 2015-11-11 17:01:03 +0800 | [diff] [blame] | 16 | setup( |
| 17 | name=PROJECT_NAME, |
Chih-Yu Huang | 5890a3c | 2016-05-30 14:21:29 +0800 | [diff] [blame] | 18 | version='0.2', |
Chih-Yu Huang | dbe89eb | 2015-11-11 17:01:03 +0800 | [diff] [blame] | 19 | description='Graphyte (Google RAdio PHY TEst)', |
| 20 | url='https://sites.google.com/a/google.com/graphyte/home', |
| 21 | author='Chih-Yu Huang', |
| 22 | author_email='akahuang@google.com', |
| 23 | license='Chromium', |
Chih-Yu Huang | b96328f | 2016-07-20 17:48:18 +0800 | [diff] [blame] | 24 | packages=PACKAGES, |
| 25 | package_data=PACKAGE_DATA) |