| @@ -2,7 +2,7 @@ | |||||
| __author__ = 'Peter Shipley <peter.shipley@gmail.com>' | __author__ = 'Peter Shipley <peter.shipley@gmail.com>' | ||||
| __copyright__ = "Copyright (C) 2014 Peter Shipley" | __copyright__ = "Copyright (C) 2014 Peter Shipley" | ||||
| __license__ = "BSD" | __license__ = "BSD" | ||||
| __version__ = "0.1.7" | |||||
| __version__ = "0.1.8" | |||||
| import socket | import socket | ||||
| import sys | import sys | ||||
| @@ -8,7 +8,7 @@ if sys.hexversion < 0x20703f0 : | |||||
| sys.stderr.write("You need python 2.7 or later to run this script\n") | sys.stderr.write("You need python 2.7 or later to run this script\n") | ||||
| __revision__ = "$Id: 20140301 $" | __revision__ = "$Id: 20140301 $" | ||||
| __version__ = '0.1.20140301' | |||||
| __version__ = "0.1.8" | |||||
| __author__ = 'Peter Shipley <peter.shipley@gmail.com>' | __author__ = 'Peter Shipley <peter.shipley@gmail.com>' | ||||
| __copyright__ = "Copyright (C) 2014 Peter Shipley" | __copyright__ = "Copyright (C) 2014 Peter Shipley" | ||||
| __license__ = "BSD" | __license__ = "BSD" | ||||
| @@ -4,7 +4,7 @@ | |||||
| """ | """ | ||||
| __author__ = "Peter Shipley" | __author__ = "Peter Shipley" | ||||
| __version__ = "0.1.7" | |||||
| __version__ = "0.1.8" | |||||
| # import RainEagle | # import RainEagle | ||||
| @@ -19,28 +19,28 @@ debug = 0 | |||||
| def create_parser(): | def create_parser(): | ||||
| parser = argparse.ArgumentParser( | parser = argparse.ArgumentParser( | ||||
| description="print power meter status") | |||||
| description="print power meter status") | |||||
| parser.add_argument("-a", "--address", dest="addr", | parser.add_argument("-a", "--address", dest="addr", | ||||
| default=os.getenv('EAGLE_ADDR', None), | |||||
| help="hostname or IP device") | |||||
| default=os.getenv('EAGLE_ADDR', None), | |||||
| help="hostname or IP device") | |||||
| parser.add_argument("-p", "--port", dest="port", type=int, | parser.add_argument("-p", "--port", dest="port", type=int, | ||||
| default=os.getenv('EAGLE_PORT', 5002), | |||||
| help="command socket port") | |||||
| default=os.getenv('EAGLE_PORT', 5002), | |||||
| help="command socket port") | |||||
| parser.add_argument("-d", "--debug", dest="debug", | parser.add_argument("-d", "--debug", dest="debug", | ||||
| default=debug, action="count", | |||||
| help="print debug info") | |||||
| default=debug, action="count", | |||||
| help="print debug info") | |||||
| parser.add_argument("-m", "--mac", dest="mac", | parser.add_argument("-m", "--mac", dest="mac", | ||||
| help="Eagle radio mac addrress") | |||||
| help="Eagle radio mac addrress") | |||||
| parser.add_argument("-t", "--timeout", dest="timeout", | parser.add_argument("-t", "--timeout", dest="timeout", | ||||
| help="Socket timeout") | |||||
| help="Socket timeout") | |||||
| parser.add_argument("-v", '--version', action='version', | parser.add_argument("-v", '--version', action='version', | ||||
| version="%(prog)s {0}".format(__version__) ) | |||||
| version="%(prog)s {0}".format(__version__) ) | |||||
| return parser | return parser | ||||
| @@ -4,7 +4,7 @@ | |||||
| """ | """ | ||||
| __author__ = "Peter Shipley" | __author__ = "Peter Shipley" | ||||
| __version__ = "0.1.7" | |||||
| __version__ = "0.1.8" | |||||
| import RainEagle | import RainEagle | ||||
| @@ -327,10 +327,10 @@ DATA | |||||
| __author__ = 'Peter Shipley <peter.shipley@gmail.com>' | __author__ = 'Peter Shipley <peter.shipley@gmail.com>' | ||||
| __copyright__ = 'Copyright (C) 2014 Peter Shipley' | __copyright__ = 'Copyright (C) 2014 Peter Shipley' | ||||
| __license__ = 'BSD' | __license__ = 'BSD' | ||||
| __version__ = '0.1.7' | |||||
| __version__ = '0.1.8' | |||||
| VERSION | VERSION | ||||
| 0.1.7 | |||||
| 0.1.8 | |||||
| AUTHOR | AUTHOR | ||||
| Peter Shipley <peter.shipley@gmail.com> | Peter Shipley <peter.shipley@gmail.com> | ||||
| @@ -19,7 +19,7 @@ class install_scripts_and_symlinks(install_scripts): | |||||
| setup( | setup( | ||||
| name='RainEagle', | name='RainEagle', | ||||
| version='0.1.7a', | |||||
| version='0.1.8', | |||||
| author='Peter Shipley', | author='Peter Shipley', | ||||
| author_email='Peter.Shipley@gmail.com', | author_email='Peter.Shipley@gmail.com', | ||||
| packages=find_packages(), | packages=find_packages(), | ||||
| @@ -30,7 +30,7 @@ setup( | |||||
| url='https://github.com/evilpete/RainEagle', | url='https://github.com/evilpete/RainEagle', | ||||
| license='BSD', | license='BSD', | ||||
| description='Python Class for utilizing the Rainforest Automation Eagle ( RFA-Z109 ) socket API.', | description='Python Class for utilizing the Rainforest Automation Eagle ( RFA-Z109 ) socket API.', | ||||
| download_url='https://github.com/evilpete/RainEagle/archive/0.1.7a.tar.gz', | |||||
| download_url='https://github.com/evilpete/RainEagle/archive/0.1.8.tar.gz', | |||||
| long_description=open('README.txt').read(), | long_description=open('README.txt').read(), | ||||
| cmdclass = { 'install_scripts': install_scripts_and_symlinks } | cmdclass = { 'install_scripts': install_scripts_and_symlinks } | ||||
| ) | ) | ||||