Package ioids :: Module setup
[hide private]
[frames] | no frames]

Source Code for Module ioids.setup

 1  """ 
 2  Setup module for G4DS 
 3   
 4  Inter-Organisational Intrusion Detection System (IOIDS) 
 5   
 6  This module should be started for installation of ioids as a python site package. This way 
 7  it may used used easily with any application afterwards. 
 8   
 9  @author: Michael Pilgermann 
10  @contact: mailto:mpilgerm@glam.ac.uk 
11  @license: GPL (General Public License) 
12  """ 
13   
14   
15  from distutils.core import setup 
16  import config 
17   
18  global version 
19  version = config.VERSION 
20   
21   
22  if __name__ == "__main__": 
23      global version 
24      setup ( 
25          name = "ioids", 
26          version = version, 
27          description = "inter-organisational intrusion detection system", 
28          author = "Michael Pilgermann", 
29          author_email = "mpilgerm@glam.ac.uk", 
30          url = "http://j4-itrl-12.comp.glam.ac.uk/g4ds/", 
31          package_dir = {'ioids': '.'}, 
32          packages = ["ioids", "ioids.support"], 
33          data_files=[('/etc/init.d', ['thirdparty/soap_db/soap_server/xsmrc']), 
34              ('/usr/bin', ['thirdparty/soap_db/soap_server/XSM.py']), 
35              ('/var/lib/g4ds/policy', ['descriptions/ioids_g4ds_policy.pol']), 
36              ('/etc', ['thirdparty/soap_db/soap_server/XSM-configuration.xml'])] 
37          ) 
38