botsense  3.2.0
RoadNarrows Client-Server Proxied Services Framework
setup.py
Go to the documentation of this file.
1 #!/usr/bin/env python
2 
3 """
4 BotSense setup.py script.
5 """
6 
7 ## \file
8 ##
9 ## $LastChangedDate: 2010-09-25 09:06:47 -0600 (Sat, 25 Sep 2010) $
10 ## $Rev: 605 $
11 ##
12 ## \brief BotSense Setup Script.
13 ##
14 ## \author Robin Knight (robin.knight@roadnarrows.com)
15 ##
16 ## \copyright
17 ## \h_copy 2010-2017. RoadNarrows LLC.\n
18 ## http://www.roadnarrows.com\n
19 ## All Rights Reserved
20 ##
21 
22 import os
23 import sys
24 from distutils.core import setup, Extension
25 
26 ## RN Package Root Directory (not python package)
27 pkgroot = '..'
28 
29 #
30 ## Package pydoc additional information (required by rnmake utilities)
31 #
32 PyDocInfo = {
33  'org_initials': 'RNR',
34  'index_template': pkgroot+"/docs/pydoc.html.tpl",
35  'images_dir': pkgroot+"/docs/images",
36  'images': {
37  'ORG_LOGO': 'Logo.png',
38  'FAVICON': 'favicon.png',
39  },
40 }
41 
42 #
43 ## Package Information (required by setup and rnmake utilities)
44 #
45 PkgInfo = {
46  'name': 'BotSense',
47  'version': '3.0.1',
48  'description': 'RoadNarrows Robotics BotSense Python Package',
49  'long_description':"""
50 The BotSense python package provides the core client modules plus the
51 standard proxied device plug-ins.
52 """,
53  'author': 'Robin Knight',
54  'author_email': 'robin.knight@roadnarrows.com',
55  'maintainer': 'RoadNarrows LLC',
56  'url': 'http://www.roadnarrows.com/',
57  'platforms': "any",
58  'license':"""
59 This is free software; see the source for copying conditions. There is NO
60 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
61 Copyright (C) 2010 RoadNarrows LLC
62 """,
63  'packages': ['BotSense'],
64  'package_dir': {'BotSense':'modules/BotSense'},
65  'package_data': {'BotSense':['_BotSenseCore.*', '_bs*.*']},
66  'scripts': [],
67 }
68 
69 #
70 ## List of XML files
71 #
72 xmlfiles = [
73  pkgroot+'/libbotsense/bsProxyMsgs.xml',
74  pkgroot+'/bsModules/bsI2C/bsI2CMsgs.xml',
75  pkgroot+'/bsModules/bsNull/bsNullMsgs.xml',
76  pkgroot+'/bsModules/bsSerial/bsSerialMsgs.xml',
77 ]
78 
79 
80 ## run
81 if __name__ == "__main__":
82  setup(**PkgInfo)
Definition: setup.py:1