Esempio n. 1
0
 def _precommand(self):
     Builder._precommand(self)
     if not self._is_epics_base:
         self._create_releasefile()
         self._create_askapdefs()
         shutil.copy(self._releasefile, 
                     os.path.join(self._package, "configure"))
         if self._oldreleasefile is not None:
             shutil.copy(self._releasefile, 
                         os.path.join(self._package, 
                                      "configure", self._oldreleasefile))
         self._update_version_file()
Esempio n. 2
0
 def _precommand(self):
     Builder._precommand(self)
     if not self._is_epics_base:
         self._create_releasefile()
         self._create_askapdefs()
         shutil.copy(self._releasefile,
                     os.path.join(self._package, "configure"))
         if self._oldreleasefile is not None:
             shutil.copy(
                 self._releasefile,
                 os.path.join(self._package, "configure",
                              self._oldreleasefile))
         self._update_version_file()
Esempio n. 3
0
 def _precommand(self):
     Builder._precommand(self)
     if os.path.exists(os.path.join(self._package, "pvaSrv")):
         #epicsV4 needs to know where EPICS v3 base is
         os.environ["EPICS_BASE"] = self._epicsbase
     elif not self._is_epics_base:
         self._create_releasefile()
         self._create_askapdefs()
         dstdir = os.path.join(self._package, "configure")
         if not os.path.exists(dstdir):
             os.mkdir(dstdir)
         shutil.copy(self._releasefile, dstdir)
         if self._oldreleasefile is not None:
             shutil.copy(self._releasefile,
                         os.path.join(dstdir, self._oldreleasefile))
         self._update_version_file()