Skip to content

Commit

Permalink
Updating to version 2.0.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
bobfox committed Feb 11, 2018
1 parent 0db84b7 commit f7c02e1
Show file tree
Hide file tree
Showing 24 changed files with 32 additions and 29 deletions.
4 changes: 4 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,7 @@ Version 1.0.8 20 Jul 2016
- Corrected units for model 121 WGra to be per second rather per minute to be consistent with previous correction to IEC 61850-7-420.
- Updated models 801-809

Version 2.0.0 11 Feb 2018
-------------------------
- Updated to support Python 3. Updated version officially supports 2.7, 3.3-3.6.
- Include latest SMDX model definitions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

Copyright (C) 2017 SunSpec Alliance
Copyright (C) 2018 SunSpec Alliance

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ interaction with SunSpec compliant devices and documents. It can be run in
most environments that support Python and is tested on Wndows 7, MAC OS X, and
Ubuntu.

Copyright (c) 2017 SunSpec Alliance
Copyright (c) 2018 SunSpec Alliance
([License](https://github.com/sunspec/pysunspec/blob/master/LICENSE))


Expand All @@ -18,7 +18,7 @@ Copyright (c) 2017 SunSpec Alliance


# Requirements
- Python 2.4 - 2.7 (2.7 recommended for most uses)
- Python 2.7, 3.3-3.6
- pySerial


Expand Down Expand Up @@ -50,8 +50,7 @@ Type "help", "copyright", "credits" or "license" for more information.
```

If Python did not show up you can acquire it from the Python Software
Foundation's [download page](http://www.python.org/download). Keep in mind this
repository currently uses Python 2.7 and not any Python 3.X. Accept all the
Foundation's [download page](http://www.python.org/download). Accept all the
default settings during the installation.

> ### If using Windows and just downloaded Python you need to set environment variables
Expand Down
4 changes: 2 additions & 2 deletions doc/pysunspec.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The pySunSpec package provides objects and applications that support interaction with SunSpec compliant devices and documents.
It can be run in most environments that support Python and is tested on Wndows 7, MAC OS X, and Ubuntu.

Copyright (c) 2017 SunSpec Alliance
Copyright (c) 2018 SunSpec Alliance


Features
Expand All @@ -18,7 +18,7 @@ Features

Requirements
============
- Python 2.4 - 2.7 (2.7 recommended for most uses)
- Python 2.7, 3.3-3.6
- pySerial


Expand Down
2 changes: 1 addition & 1 deletion scripts/suns.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python

"""
Copyright (c) 2017, SunSpec Alliance
Copyright (c) 2018, SunSpec Alliance
All Rights Reserved
"""
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
#!/usr/bin/env python

"""
Copyright (c) 2017, SunSpec Alliance
Copyright (c) 2018, SunSpec Alliance
All Rights Reserved
"""
from distutils.core import setup

setup(name = 'pysunspec',
version = '1.0.8',
version = '2.0.0',
description = 'Python SunSpec Tools',
author = ['Bob Fox'],
author_email = ['bob[email protected]'],
author_email = ['bob@sunspec.org'],
packages = ['sunspec', 'sunspec.core', 'sunspec.core.modbus', 'sunspec.core.test', 'sunspec.core.test.fake'],
package_data = {'sunspec': ['models/smdx/*'], 'sunspec.core.test': ['devices/*']},
scripts = ['scripts/suns.py']
Expand Down
2 changes: 1 addition & 1 deletion sunspec/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

# pysunspec version
version = '1.0.8'
version = '2.0.0'


2 changes: 1 addition & 1 deletion sunspec/core/client.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

"""
Copyright (C) 2017 SunSpec Alliance
Copyright (C) 2018 SunSpec Alliance
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
Expand Down
2 changes: 1 addition & 1 deletion sunspec/core/data.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

"""
Copyright (C) 2017 SunSpec Alliance
Copyright (C) 2018 SunSpec Alliance
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
Expand Down
2 changes: 1 addition & 1 deletion sunspec/core/device.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

"""
Copyright (C) 2017 SunSpec Alliance
Copyright (C) 2018 SunSpec Alliance
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
Expand Down
2 changes: 1 addition & 1 deletion sunspec/core/modbus/client.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

"""
Copyright (C) 2017 SunSpec Alliance
Copyright (C) 2018 SunSpec Alliance
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
Expand Down
2 changes: 1 addition & 1 deletion sunspec/core/modbus/mbmap.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

"""
Copyright (C) 2017 SunSpec Alliance
Copyright (C) 2018 SunSpec Alliance
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
Expand Down
2 changes: 1 addition & 1 deletion sunspec/core/pics.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

"""
Copyright (C) 2017 SunSpec Alliance
Copyright (C) 2018 SunSpec Alliance
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
Expand Down
2 changes: 1 addition & 1 deletion sunspec/core/smdx.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

"""
Copyright (C) 2017 SunSpec Alliance
Copyright (C) 2018 SunSpec Alliance
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
Expand Down
2 changes: 1 addition & 1 deletion sunspec/core/suns.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

"""
Copyright (C) 2017 SunSpec Alliance
Copyright (C) 2018 SunSpec Alliance
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
Expand Down
2 changes: 1 addition & 1 deletion sunspec/core/test/fake/serial.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

"""
Copyright (C) 2017 SunSpec Alliance
Copyright (C) 2018 SunSpec Alliance
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
Expand Down
2 changes: 1 addition & 1 deletion sunspec/core/test/fake/socket.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

"""
Copyright (C) 2017 SunSpec Alliance
Copyright (C) 2018 SunSpec Alliance
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
Expand Down
2 changes: 1 addition & 1 deletion sunspec/core/test/test_all.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

"""
Copyright (C) 2016 SunSpec Alliance
Copyright (C) 2018 SunSpec Alliance
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
Expand Down
2 changes: 1 addition & 1 deletion sunspec/core/test/test_client.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

"""
Copyright (C) 2017 SunSpec Alliance
Copyright (C) 2018 SunSpec Alliance
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
Expand Down
2 changes: 1 addition & 1 deletion sunspec/core/test/test_data.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

"""
Copyright (C) 2017 SunSpec Alliance
Copyright (C) 2018 SunSpec Alliance
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
Expand Down
2 changes: 1 addition & 1 deletion sunspec/core/test/test_device.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

"""
Copyright (C) 2017 SunSpec Alliance
Copyright (C) 2018 SunSpec Alliance
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
Expand Down
2 changes: 1 addition & 1 deletion sunspec/core/test/test_modbus_client.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

"""
Copyright (C) 2017 SunSpec Alliance
Copyright (C) 2018 SunSpec Alliance
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
Expand Down
2 changes: 1 addition & 1 deletion sunspec/core/test/test_modbus_mbmap.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

"""
Copyright (C) 2017 SunSpec Alliance
Copyright (C) 2018 SunSpec Alliance
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
Expand Down
2 changes: 1 addition & 1 deletion sunspec/core/util.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

"""
Copyright (C) 2017 SunSpec Alliance
Copyright (C) 2018 SunSpec Alliance
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
Expand Down

0 comments on commit f7c02e1

Please sign in to comment.