diff options
author | Sebastien Martini <seb@dbzteam.org> | 2010-10-17 18:49:05 +0200 |
---|---|---|
committer | Sebastien Martini <seb@dbzteam.org> | 2010-10-17 18:49:05 +0200 |
commit | a745ca51ff0c7ff7e51a6cc35cc0eb2e4c408309 (patch) | |
tree | 37546bc8f4a103715ba0b8bc8dca1e903d8f8703 | |
parent | 095323cb53ec49e7e04b09ddb6908adfbfd2564f (diff) | |
download | pyinotify-a745ca51ff0c7ff7e51a6cc35cc0eb2e4c408309.tar.gz |
Moved README to README.md.
-rw-r--r-- | README.md | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..05dd19d --- /dev/null +++ b/README.md @@ -0,0 +1,38 @@ +# Pyinotify + +* License : MIT +* Project URL : [http://github.com/seb-m/pyinotify](http://github.com/seb-m/pyinotify) +* Project Wiki : [http://github.com/seb-m/pyinotify/wiki](http://github.com/seb-m/pyinotify/wiki) +* API Documentation : [http://seb-m.github.com/pyinotify](http://seb-m.github.com/pyinotify) +* Examples : [http://github.com/seb-m/pyinotify/tree/master/python2/examples/](http://github.com/seb-m/pyinotify/tree/master/python2/examples/) + + +## Dependencies + +* Linux >= 2.6.13 +* Python (CPython) >= 2.4 +* Libc with inotify support (usually version >= 2.4 for GLibc) +* ctypes (part of the standard library since Python 2.5) +* Epydoc (optional, used to generate html documentation from docstrings) + + +## Install + +### Install from the distributed tarball + + # Choose your Python interpreter: either python, python2.6, python3.1,.. + # Replacing XXX accordingly with your previous choice type: + $ sudo pythonXXX setup.py install + +### Or install it with "Easy Install" (currently seems to work only for Python2) + + $ wget http://peak.telecommunity.com/dist/ez_setup.py + $ sudo python ez_setup.py + $ sudo easy_install pyinotify + + +## Watch a directory + +Install pyinotify and run this command from a shell: + + $ python -m pyinotify -v /my-dir-to-watch |