i2c  1.4.2
RoadNarrows Robotics I2C Package
setup.py
Go to the documentation of this file.
1 #!/usr/bin/env python
2 
3 """
4 i2c python setup.py script.
5 """
6 
7 ## \file
8 ##
9 ## $LastChangedDate: 2016-01-28 16:34:02 -0700 (Thu, 28 Jan 2016) $
10 ## $Rev: 4282 $
11 ##
12 ## \brief I2C Python Setup Script.
13 ##
14 ## \author Robin Knight (robin.knight@roadnarrows.com)
15 ##
16 ## \copyright
17 ## \h_copy 2016-2018. RoadNarrows LLC.\n
18 ## http://www.roadnarrows.com\n
19 ## All Rights Reserved
20 ##
21 # @EulaBegin@
22 #
23 # Permission is hereby granted, without written agreement and without
24 # license or royalty fees, to use, copy, modify, and distribute this
25 # software and its documentation for any purpose, provided that
26 # (1) The above copyright notice and the following two paragraphs
27 # appear in all copies of the source code and (2) redistributions
28 # including binaries reproduces these notices in the supporting
29 # documentation. Substantial modifications to this software may be
30 # copyrighted by their authors and need not follow the licensing terms
31 # described here, provided that the new terms are clearly indicated in
32 # all files where they apply.
33 #
34 # IN NO EVENT SHALL THE AUTHOR, ROADNARROWS LLC, OR ANY MEMBERS/EMPLOYEES
35 # OF ROADNARROW LLC OR DISTRIBUTORS OF THIS SOFTWARE BE LIABLE TO ANY
36 # PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL
37 # DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION,
38 # EVEN IF THE AUTHORS OR ANY OF THE ABOVE PARTIES HAVE BEEN ADVISED OF
39 # THE POSSIBILITY OF SUCH DAMAGE.
40 #
41 # THE AUTHOR AND ROADNARROWS LLC SPECIFICALLY DISCLAIM ANY WARRANTIES,
42 # INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
43 # FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN
44 # "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO
45 # PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
46 #
47 # @EulaEnd@
48 
49 import os
50 import sys
51 from distutils.core import setup, Extension
52 
53 ## RN Package Root Directory (not python package)
54 RNMAKE_PKG_ROOT = '../..'
55 
56 #
57 ## Package pydoc additional information (required by rnmake utilities)
58 #
59 PyDocInfo = {
60  'org_initials': 'RNR',
61  'index_template': RNMAKE_PKG_ROOT+"/docs/pydoc.html.tpl",
62  'images_dir': RNMAKE_PKG_ROOT+"/docs/images",
63  'images': {
64  'ORG_LOGO': 'Logo.png',
65  'FAVICON': 'favicon.png',
66  },
67 }
68 
69 #
70 ## Package Information (required by setup and rnmake utilities)
71 #
72 PkgInfo = {
73  'name': 'I2C',
74  'version': '1.4.2',
75  'description': 'RoadNarrows I2C Python Package',
76  'long_description':"""
77 The I2C python package provides the i2c modules.
78 """,
79  'author': 'Robin Knight',
80  'author_email': 'robin.knight@roadnarrows.com',
81  'maintainer': 'RoadNarrows LLC',
82  'url': 'http://www.roadnarrows.com/',
83  'platforms': "any",
84  'license':"""
85 (C) 2018 RoadNarrows LLC. All rights reserved.
86 """,
87  'packages': ['rnr'],
88  'package_dir': {'rnr':'modules/rnr'},
89  'package_data': {'rnr':['_i2ccore.*']},
90  'scripts': [],
91 }
92 
93 #
94 ## List of XML files
95 #
96 xmlfiles = [ ]
97 
98 
99 ## run
100 if __name__ == "__main__":
101  setup(**PkgInfo)
Definition: setup.py:1