blob: bcbe123441c578ac9ff1db48736d12274d903350 [file] [log] [blame]
Chih-Yu Huangdbe89eb2015-11-11 17:01:03 +08001#!/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
6import fnmatch
7import os
8from distutils.core import setup
9
10PROJECT_NAME = 'graphyte'
11PROJECT_DIR = os.path.join(PROJECT_NAME, os.path.dirname(__file__))
12
13# Get all path of *.yaml and *.csv
14DATA_PATHS = []
15for root, _, filenames in os.walk(PROJECT_DIR):
16 DATA_PATHS += [os.path.join(root, filename) for filename in
17 fnmatch.filter(filenames, '*.yaml')]
18 DATA_PATHS += [os.path.join(root, filename) for filename in
19 fnmatch.filter(filenames, '*.csv')]
20
21setup(
22 name=PROJECT_NAME,
23 version='0.1',
24 description='Graphyte (Google RAdio PHY TEst)',
25 url='https://sites.google.com/a/google.com/graphyte/home',
26 author='Chih-Yu Huang',
27 author_email='akahuang@google.com',
28 license='Chromium',
29 packages=[PROJECT_NAME],
30 package_data={PROJECT_NAME: DATA_PATHS},
31 scripts=['graphyte_main.py'],
32 install_requires=['pyyaml'],
33 )