Browse Source

Fixed imports, added setup.py

master 0.1.1
Johann Schmitz 7 years ago
parent
commit
c8d1997e72
Signed by: ercpe GPG Key ID: A084064277C501ED
  1. 14
      setup.py
  2. 4
      src/permwatcher/main.py

14
setup.py

@ -0,0 +1,14 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from distutils.core import setup
setup(name='permwatcher',
version='0.1.1',
description='Linux Filesystem Permissions Watcher',
author='Johann Schmitz',
author_email='johann@j-schmitz.net',
url='https://repos.j-schmitz.net/gitweb/?p=permwatcher.git;a=summary',
packages=['permwatcher',],
package_dir={'': 'src'},
)

4
src/permwatcher/main.py

@ -4,8 +4,8 @@ from argparse import ArgumentParser
import logging
from logging.handlers import SysLogHandler
import os
from config import Config
from watcher import Watcher
from permwatcher.config import Config
from permwatcher.watcher import Watcher
if __name__ == "__main__":
parser = ArgumentParser()