Skip to content

Commit

Permalink
add link to readthedocs, fix small issues
Browse files Browse the repository at this point in the history
  • Loading branch information
gijzelaerr committed Nov 9, 2013
1 parent 53295fa commit fbc99d2
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 19 deletions.
26 changes: 9 additions & 17 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,14 @@ but at the moment only Python 2.7 is supported.
.. image:: https://travis-ci.org/gijzelaerr/python-snap7.png?branch=master
:target: https://travis-ci.org/gijzelaerr/python-snap7

The full documentation is available on `Read The Docs <http://python-snap7.readthedocs.org/en/latest/>`_.


Installation
============

First install the snap7 library. You can download the source from the
`snap7 website <http://snap7.sourceforge.net/>`_ and compile it, or if you use
Ubuntu you can use the
`Ubuntu packages <https://launchpad.net/~gijzelaar/+archive/snap7>`_ we created.

Next you can install the snap7 python rapper by running::

$ pip install python-snap7


or when you install from source::

$ python setup.py install

Please read the
`online installation documentation <http://python-snap7.readthedocs.org/en/latest/installation.html>`_.


credits
Expand All @@ -37,8 +27,10 @@ credits
- Gijs Molenaar
- Stephan Preeker


Special thanks to
=================
- Davide Nardella for creating snap7
- Thomas Hergenhahn for his libnodave.
- Thomas W for his S7comm wireshark plugin

- Davide Nardella for creating snap7
- Thomas Hergenhahn for his libnodave.
- Thomas W for his S7comm wireshark plugin
8 changes: 8 additions & 0 deletions doc/development.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,11 @@ server tests need to run as root. To run all tests please run::
If the test complain about missing Python modules make sure the source directory
is in your PYTHONPATH environment variable, or the python-snap7 module is
installed.

Credits
-------

python-snap7 is created by Gijs Molenaar and Stephan Preeker.

Special thanks to go to Davide Nardella for creating snap7, Thomas Hergenhahn
for his libnodave and Thomas W for his S7comm wireshark plugin.
File renamed without changes.
2 changes: 0 additions & 2 deletions snap7/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,6 @@ def pick_event(self):

def get_param(self, number):
"""Reads an internal Server object parameter.
int Srv_GetParam(S7Object Server, int ParamNumber, void *pValue);
"""
logger.debug("retreiving param number %s" % number)
value = ctypes.c_int()
Expand Down

0 comments on commit fbc99d2

Please sign in to comment.