diff --git a/.gitignore b/.gitignore index fbb3722e..1709a1e3 100644 --- a/.gitignore +++ b/.gitignore @@ -34,6 +34,8 @@ client/**/*.py[cod] pupy/*.py[cod] pupy/pupylib/**/*.py[cod] pupy/modules/*.py[cod] +pupy/modules/lib/*.py[cod] +pupy/modules/lib/**/*.py[cod] pupy/network/**/*.pyc # do not ignore package & templates files diff --git a/pupy/modules/linux_pers.py b/pupy/modules/linux_pers.py index a96a2b3c..c24340bf 100644 --- a/pupy/modules/linux_pers.py +++ b/pupy/modules/linux_pers.py @@ -4,11 +4,11 @@ from pupylib.PupyModule import * __class_name__="SetPersistence" -@compatibility("unix") def print_callback(data): sys.stdout.write(data) sys.stdout.flush() +@compatibility("unix") class SetPersistence(PupyModule): """Add your pp.py file to /etc/init.d/ scripts NOTE: the pp.py script needs to be running with root privileges in order to modify the init scripts.""" diff --git a/pupy/requirements.txt b/requirements.txt similarity index 100% rename from pupy/requirements.txt rename to requirements.txt