Peter Shipley 9 vuotta sitten
vanhempi
commit
2afa0b76c9
6 muutettua tiedostoa jossa 18 lisäystä ja 18 poistoa
  1. +1
    -1
      RainEagle/EagleClass.py
  2. +1
    -1
      RainEagle/__init__.py
  3. +11
    -11
      bin/meter_status.py
  4. +1
    -1
      bin/plot_power.py
  5. +2
    -2
      doc.txt
  6. +2
    -2
      setup.py

+ 1
- 1
RainEagle/EagleClass.py Näytä tiedosto

@@ -2,7 +2,7 @@
__author__ = 'Peter Shipley <peter.shipley@gmail.com>'
__copyright__ = "Copyright (C) 2014 Peter Shipley"
__license__ = "BSD"
__version__ = "0.1.7"
__version__ = "0.1.8"

import socket
import sys


+ 1
- 1
RainEagle/__init__.py Näytä tiedosto

@@ -8,7 +8,7 @@ if sys.hexversion < 0x20703f0 :
sys.stderr.write("You need python 2.7 or later to run this script\n")

__revision__ = "$Id: 20140301 $"
__version__ = '0.1.20140301'
__version__ = "0.1.8"
__author__ = 'Peter Shipley <peter.shipley@gmail.com>'
__copyright__ = "Copyright (C) 2014 Peter Shipley"
__license__ = "BSD"


+ 11
- 11
bin/meter_status.py Näytä tiedosto

@@ -4,7 +4,7 @@
"""

__author__ = "Peter Shipley"
__version__ = "0.1.7"
__version__ = "0.1.8"


# import RainEagle
@@ -19,28 +19,28 @@ debug = 0

def create_parser():
parser = argparse.ArgumentParser(
description="print power meter status")
description="print power meter status")

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,
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",
default=debug, action="count",
help="print debug info")
default=debug, action="count",
help="print debug info")

parser.add_argument("-m", "--mac", dest="mac",
help="Eagle radio mac addrress")
help="Eagle radio mac addrress")

parser.add_argument("-t", "--timeout", dest="timeout",
help="Socket timeout")
help="Socket timeout")

parser.add_argument("-v", '--version', action='version',
version="%(prog)s {0}".format(__version__) )
version="%(prog)s {0}".format(__version__) )

return parser



+ 1
- 1
bin/plot_power.py Näytä tiedosto

@@ -4,7 +4,7 @@
"""

__author__ = "Peter Shipley"
__version__ = "0.1.7"
__version__ = "0.1.8"


import RainEagle


+ 2
- 2
doc.txt Näytä tiedosto

@@ -327,10 +327,10 @@ DATA
__author__ = 'Peter Shipley <peter.shipley@gmail.com>'
__copyright__ = 'Copyright (C) 2014 Peter Shipley'
__license__ = 'BSD'
__version__ = '0.1.7'
__version__ = '0.1.8'

VERSION
0.1.7
0.1.8

AUTHOR
Peter Shipley <peter.shipley@gmail.com>


+ 2
- 2
setup.py Näytä tiedosto

@@ -19,7 +19,7 @@ class install_scripts_and_symlinks(install_scripts):

setup(
name='RainEagle',
version='0.1.7a',
version='0.1.8',
author='Peter Shipley',
author_email='Peter.Shipley@gmail.com',
packages=find_packages(),
@@ -30,7 +30,7 @@ setup(
url='https://github.com/evilpete/RainEagle',
license='BSD',
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(),
cmdclass = { 'install_scripts': install_scripts_and_symlinks }
)


Ladataan…
Peruuta
Tallenna