netmsgs  1.2.2
RoadNarrows Robotics Network Messaging Package
setup.py
Go to the documentation of this file.
1 #!/usr/bin/env python
2 
3 """
4 NetMsgs standard setup.py script.
5 """
6 
7 ## \file
8 ##
9 ## $LastChangedDate: 2010-07-31 08:48:56 -0600 (Sat, 31 Jul 2010) $
10 ## $Rev: 521 $
11 ##
12 ## \brief NetMsgs Setup Script.
13 ##
14 ## \author Robin Knight (robin.knight@roadnarrows.com)
15 ##
16 ## \copyright
17 ## \h_copy 2009-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': 'NetMsgs',
47  'version': '1.2.2',
48  'description': 'RoadNarrows NetMsgs Python Package',
49  'long_description':"""
50 The NetMsgs python package provides the set of tools to generate
51 language-specific packing and unpacking routines, plus run-time message
52 processing routines. The generated output files are specified from RoadNarrows
53 NetMsgs XML input files.
54 
55 Supported Output Language Generation:
56 o C <name>.h and <name>.c
57 o Python <name>.py
58 """,
59  'author': 'Robin Knight',
60  'author_email': 'robin.knight@roadnarrows.com',
61  'maintainer': 'RoadNarrows LLC',
62  'url': 'http://www.roadnarrows.com/',
63  'platforms': "any",
64  'license':"""
65 This is free software; see the source for copying conditions. There is NO
66 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
67 Copyright (C) 2009-2018 RoadNarrows LLC
68 """,
69  'packages': ['NetMsgs'],
70  'package_dir': {'NetMsgs':'modules/NetMsgs'},
71  'package_data': {'NetMsgs':['_NetMsgsCore.*']},
72  'scripts': ['scripts/netmsgsgen'],
73 }
74 
75 ## run
76 if __name__ == "__main__":
77  setup(**PkgInfo)
Definition: setup.py:1