diff options
author | Cyril Jaquier <cyril.jaquier@fail2ban.org> | 2006-11-16 21:07:42 +0000 |
---|---|---|
committer | Cyril Jaquier <cyril.jaquier@fail2ban.org> | 2006-11-16 21:07:42 +0000 |
commit | 58acd9fb9ff89f1bada081e2bbc629dde83a11ea (patch) | |
tree | f08fa1e22721bceb9d7f7aad7c22d3f5c2d0ac4f /setup.py | |
parent | 160900f88efd9c46e635669d6172aec5e6494bf0 (diff) | |
download | fail2ban-58acd9fb9ff89f1bada081e2bbc629dde83a11ea.tar.gz |
- Moved version.py and protocol.py to common/
git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@467 a942ae1a-1317-0410-a47c-b1dcaea8d605
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 14 |
1 files changed, 6 insertions, 8 deletions
@@ -27,7 +27,7 @@ __copyright__ = "Copyright (c) 2004 Cyril Jaquier" __license__ = "GPL" from distutils.core import setup -from version import version +from common.version import version from os.path import isfile, join from sys import argv from glob import glob @@ -54,24 +54,21 @@ setup( 'fail2ban-server', 'fail2ban-regex' ], - py_modules = [ - 'version', - 'protocol' - ], packages = [ + 'common', 'client', 'server' ], data_files = [ ('/etc/fail2ban', glob("config/*.conf") - ), + ), ('/etc/fail2ban/filter.d', glob("config/filter.d/*.conf") - ), + ), ('/etc/fail2ban/action.d', glob("config/action.d/*.conf") - ) + ) ] ) @@ -100,6 +97,7 @@ for directory in elements: path = join(directory, f) if isfile(path): obsoleteFiles.append(path) + if obsoleteFiles: print print "Obsolete files from previous Fail2Ban versions were found on " \ |