Changeset 3200 for pykota

Show
Ignore:
Timestamp:
07/09/07 21:11:20 (17 years ago)
Author:
jerome
Message:

Only calls PyKota's setup script if it exists.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/pksetup

    r3196 r3200  
    386386        pykotadir = os.path.abspath(os.path.join(pksetupdir, "..")) 
    387387        setuppy = os.path.join(pykotadir, "setup.py") 
    388         self.confirmCommand("to install PyKota files on your system", "python %(setuppy)s install" % locals()) 
     388        if os.path.exists(setuppy) : 
     389            self.confirmCommand("to install PyKota files on your system", "python %(setuppy)s install" % locals()) 
    389390         
    390391    def setup(self) :