Laelaps  2.3.5
RoadNarrows Robotics Small Outdoor Mobile Robot Project
setup.py
Go to the documentation of this file.
1 #!/usr/bin/env python
2 
3 """
4 Laelaps python modules setup.py script.
5 """
6 
7 ## \file
8 ##
9 ## $LastChangedDate: 2016-03-18 12:47:57 -0600 (Fri, 18 Mar 2016) $
10 ## $Rev: 4362 $
11 ##
12 ## \brief Laelaps Python Setup Script.
13 ##
14 ## \author Robin Knight (robin.knight@roadnarrows.com)
15 ##
16 ## \par Copyright
17 ## \h_copy 2015-2017. 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 pkgroot = '../..'
55 
56 #
57 ## Package pydoc additional information (required by rnmake utilities)
58 #
59 PyDocInfo = {
60  'org_initials': 'RNR',
61  'index_template': pkgroot+"/docs/pydoc.html.tpl",
62  'images_dir': pkgroot+"/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': 'Laelaps',
74  'version': '1.0.0',
75  'description': 'RoadNarrows Laelaps Python Package',
76  'long_description':"""
77 The Laelaps python package provides modules and plug-in extension for the
78 Laelaps mobile robotic platform.
79 """,
80  'author': 'Robin Knight',
81  'author_email': 'robin.knight@roadnarrows.com',
82  'maintainer': 'RoadNarrows LLC',
83  'url': 'http://www.roadnarrows.com/',
84  'platforms': "any",
85  'license':"""
86 This is free python modules and binary extensions software; see the source for
87 copying conditions. There is NO warranty; not even for MERCHANTABILITY or
88 FITNESS FOR A PARTICULAR PURPOSE.
89 Copyright (C) 2011-2013 RoadNarrows LLC
90 """,
91  'packages': ['Laelaps', 'Laelaps.images'],
92  'package_dir': {'Laelaps':'modules/Laelaps',
93  'Laelaps.images':'modules/Laelaps/images'},
94  'package_data': {'Laelaps':['_ImuMspMsgs.*', '_RoboClawMsgs.*',
95  '_WatchDogMsgs.*'],
96  'Laelaps.images':['*.png', '*.jpg']},
97  'scripts': [],
98 }
99 
100 #
101 ## List of XML files
102 #
103 xmlfiles = [ ]
104 
105 
106 ## run
107 if __name__ == "__main__":
108  setup(**PkgInfo)
Definition: setup.py:1