-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
36 lines (23 loc) · 1.03 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
This is a clone of git clone http://git.dbzteam.org/pyinotify/ from http://trac.dbzteam.org/pyinotify
It is not the original!
==== Pyinotify ====
License: MIT License
Project URL: http://trac.dbzteam.org/pyinotify/
==== 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.0,..
# Replacing XXX accordingly with your previous choice type:
$ sudo pythonXXX setup.py install
-> OR install 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