Changeset 3196

Show
Ignore:
Timestamp:
06/27/07 23:17:40 (17 years ago)
Author:
jerome
Message:

Added missing step : pksetup should install PyKota's files first.

Location:
pykota/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/pksetup

    r3194 r3196  
    381381            self.confirmCommand("to import the %(queuename)s print queue into PyKota's database and reroute it through PyKota" % locals(), command) 
    382382     
     383    def installPyKotaFiles(self) : 
     384        """Installs PyKota files through Python's Distutils mechanism.""" 
     385        pksetupdir = os.path.split(os.path.abspath(sys.argv[0]))[0] 
     386        pykotadir = os.path.abspath(os.path.join(pksetupdir, "..")) 
     387        setuppy = os.path.join(pykotadir, "setup.py") 
     388        self.confirmCommand("to install PyKota files on your system", "python %(setuppy)s install" % locals()) 
     389         
    383390    def setup(self) : 
    384391        """Installation procedure.""" 
     392        self.installPyKotaFiles() 
    385393        self.waitPrintersOnline() 
    386394        adminname = raw_input("What is the name of the print administrator ? ").strip() 
  • pykota/trunk/docs/installation.sgml

    r3116 r3196  
    8282      followed with the name of your distribution, like : 
    8383    <screen>     
    84     jerome@nordine:~$ pksetup debian   
     84jerome@nordine:~/pykota-1.25_official$ ./bin/pksetup debian 
    8585    </screen>   
    8686      and then follow the instructions and answer to the several questions you'll