Changeset 920 for pykota

Show
Ignore:
Timestamp:
04/15/03 19:49:29 (22 years ago)
Author:
jalet
Message:

Installation script now checks the presence of Netatalk

Location:
pykota/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/README

    r919 r920  
    5454        - SNMP querying of any networked SNMP-enabled printer.  
    5555         
     56        - Netatalk querying of any networked AppleTalk-enabled printer.  
     57         
    5658        - External command querying of any printer : you can use 
    5759          you own querying command, e.g. to query a printer via 
     
    7577lazy method ? 
    7678 
    77   The lazy method consists in querying the printer (actually via SNMP) 
    78   for its total pages counter, just before the beginning of a job, and 
    79   use this to modify the *preceding* user's quota. So you're 
    80   always late of one print job, but this is generally ok, especially 
    81   because a check is also done to see if the current user is allowed 
    82   or not to print. 
     79  The lazy method consists in querying the printer (actually via SNMP  
     80  or Netatalk) for its total pages counter, just before the beginning  
     81  of a job, and use this to modify the *preceding* user's quota. So  
     82  you're always late of one print job, but this is generally ok,  
     83  especially because a check is also done to see if the current user  
     84  is allowed or not to print.  
    8385   
    8486  Problem may theorically arise in batches of successive print jobs by  
  • pykota/trunk/setup.py

    r884 r920  
    2323# 
    2424# $Log$ 
     25# Revision 1.8  2003/04/15 17:49:29  jalet 
     26# Installation script now checks the presence of Netatalk 
     27# 
    2528# Revision 1.7  2003/04/03 20:03:37  jalet 
    2629# Installation script now allows to install the sample configuration file. 
     
    140143    # checks if some needed Python modules are there or not. 
    141144    modulestocheck = [("PygreSQL", "pg"), ("mxDateTime", "mx.DateTime")] 
    142     commandstocheck = [("SNMP Tools", "snmpget")] 
     145    commandstocheck = [("SNMP Tools", "snmpget"), ("Netatalk", "pap")] 
    143146    for (name, module) in modulestocheck : 
    144147        action = checkWithPrompt(name, module=module)