当前位置: 首页>>代码示例>>Python>>正文


Python BaseILC.setMode方法代码示例

本文整理汇总了Python中baseilc.BaseILC.setMode方法的典型用法代码示例。如果您正苦于以下问题:Python BaseILC.setMode方法的具体用法?Python BaseILC.setMode怎么用?Python BaseILC.setMode使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在baseilc.BaseILC的用法示例。


在下文中一共展示了BaseILC.setMode方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: setMode

# 需要导入模块: from baseilc import BaseILC [as 别名]
# 或者: from baseilc.BaseILC import setMode [as 别名]
    def setMode(self, mode):
        BaseILC.setMode(self, mode)

        if Version( self.version ) > '0.7.3':
            self.hasCMakeBuildSupport = True
        else:
            self.hasCMakeBuildSupport = False
开发者ID:kislerdm,项目名称:alibava_analysis-tool,代码行数:9,代码来源:conddbmysql.py

示例2: setMode

# 需要导入模块: from baseilc import BaseILC [as 别名]
# 或者: from baseilc.BaseILC import setMode [as 别名]
    def setMode(self, mode):
        BaseILC.setMode(self, mode)

        if( self.mode == "install" ):
            if( Version( self.version ) < "9.5" ):
                self.abort( "ilcinstall only supports installation of Geant4 9.5 or greater!" )

            # download url
            self.download.url = "http://geant4.cern.ch/support/source/geant4.%s.tar.gz" % self.version
开发者ID:kislerdm,项目名称:alibava_analysis-tool,代码行数:11,代码来源:geant4.py

示例3: setMode

# 需要导入模块: from baseilc import BaseILC [as 别名]
# 或者: from baseilc.BaseILC import setMode [as 别名]
    def setMode(self, mode):
        BaseILC.setMode(self, mode)

        if( Version( self.version ) < '4.6' ):
            self.download.url = "http://download.qt-project.org/archive/qt/%s/qt-x11-opensource-src-%s.tar.gz" % (self.version[:3], self.version,)

            if self.os_ver.type == "Darwin":
                self.download.url = "http://download.qt-project.org/archive/qt/%s/qt-mac-opensource-src-%s.tar.gz" % (self.version[:3], self.version,)
        else:
            self.download.url = "http://download.qt-project.org/archive/qt/%s/qt-everywhere-opensource-src-%s.tar.gz" % (self.version[:3], self.version,)
开发者ID:iLCSoft,项目名称:iLCInstall,代码行数:12,代码来源:qt.py

示例4: setMode

# 需要导入模块: from baseilc import BaseILC [as 别名]
# 或者: from baseilc.BaseILC import setMode [as 别名]
    def setMode(self, mode):
        BaseILC.setMode(self, mode)

        urlver=self.version

        if self.version=='2006':
            urlver='2006b'
        
        # don;t remove this line (needed to skip version check in baseilc.py; Version( "2006" ) raises Exception)
        self.download.url = "http://cernlib.web.cern.ch/cernlib/download/"+urlver+"_source/tar/"
开发者ID:kislerdm,项目名称:alibava_analysis-tool,代码行数:12,代码来源:cernlib.py

示例5: setMode

# 需要导入模块: from baseilc import BaseILC [as 别名]
# 或者: from baseilc.BaseILC import setMode [as 别名]
    def setMode(self, mode):
        BaseILC.setMode(self, mode)

        self.download.url = 'https://root.cern.ch/download/root_v%s.source.tar.gz' % self.version
        self.download.svnurl = 'http://root.cern.ch/svn/root'

        if( Version( self.version ) == 'HEAD' ):
            self.download.svnurl += '/trunk'
        else:
            self.download.svnurl += '/tags/v' + self.version.replace('.','-')
开发者ID:iLCSoft,项目名称:iLCInstall,代码行数:12,代码来源:root.py

示例6: setMode

# 需要导入模块: from baseilc import BaseILC [as 别名]
# 或者: from baseilc.BaseILC import setMode [as 别名]
    def setMode(self, mode):
        BaseILC.setMode(self, mode)

        self.download.svnurl = 'svn://svn.freehep.org/lcio'

        if( Version( self.version ) == 'HEAD' ):
            self.download.svnurl += '/trunk'
        elif '-pre' in self.version or '-dev' in self.version:
            self.download.svnurl += '/branches/' + self.version
        else:
            self.download.svnurl += '/tags/' + self.version
开发者ID:kislerdm,项目名称:alibava_analysis-tool,代码行数:13,代码来源:lcio.py

示例7: setMode

# 需要导入模块: from baseilc import BaseILC [as 别名]
# 或者: from baseilc.BaseILC import setMode [as 别名]
    def setMode(self, mode):
        BaseILC.setMode(self, mode)

        # avoid warning 'download forced....'
        if self.download.type != "svn":
            self.download.type='svn-export'

        if( Version( self.version ) == 'HEAD' ):
            self.download.svnurl = 'http://svn.dcache.org/dCache/trunk/modules/dcap'
        else:
            # 1.9.5-5
            self.download.svnurl = 'http://svn.dcache.org/dCache/tags/%s/modules/dcap' % self.version
开发者ID:iLCSoft,项目名称:iLCInstall,代码行数:14,代码来源:dcap.py

示例8: setMode

# 需要导入模块: from baseilc import BaseILC [as 别名]
# 或者: from baseilc.BaseILC import setMode [as 别名]
    def setMode(self, mode):
        BaseILC.setMode(self, mode)

        self.download.type = 'svn'
        self.download.svnurl = 'https://svnsrv.desy.de/public/GeneralBrokenLines'

        if( Version( self.version ) == 'HEAD' ):
            self.download.svnurl += '/trunk/cpp'
        elif '-pre' in self.version or '-dev' in self.version:
            self.download.svnurl += '/branches/' + self.version + '/cpp'
        else:
            self.download.svnurl += '/tags/' + self.version + '/cpp'
开发者ID:iLCSoft,项目名称:iLCInstall,代码行数:14,代码来源:gbl.py

示例9: setMode

# 需要导入模块: from baseilc import BaseILC [as 别名]
# 或者: from baseilc.BaseILC import setMode [as 别名]
    def setMode(self, mode):
        
        BaseILC.setMode(self, mode)

        self.download.svnurl = 'https://svnsrv.desy.de/public/aidasoft/DD4hep'
        
        if( Version( self.version ) == 'HEAD' ):
            self.download.svnurl += '/trunk/DDSegmentation/'
        elif '-pre' in self.version or '-dev' in self.version:
            self.download.svnurl += '/branches/' + self.version + '/DDSegmentation/'
        else:
            self.download.svnurl += '/tags/' + self.version + '/DDSegmentation/'
开发者ID:iLCSoft,项目名称:iLCInstall,代码行数:14,代码来源:ddsegmentation.py

示例10: setMode

# 需要导入模块: from baseilc import BaseILC [as 别名]
# 或者: from baseilc.BaseILC import setMode [as 别名]
    def setMode(self, mode):
        BaseILC.setMode(self, mode)
            
        self.download.type = "svn"
        self.download.svnurl = 'https://github.com/AIDASoft/DD4hep'
        # simply do an svn co from the git repository

        if( Version( self.version ) == 'HEAD' ):
            self.download.svnurl += '/trunk'
#        elif 'pre' in self.version or 'dev' in self.version:
#            self.download.svnurl += '/branches/' + self.version
        else:
            self.download.svnurl += '/tags/' + self.version

        self.download.svnurl += '/examples/'
开发者ID:iLCSoft,项目名称:iLCInstall,代码行数:17,代码来源:dd4hep_examples.py

示例11: setMode

# 需要导入模块: from baseilc import BaseILC [as 别名]
# 或者: from baseilc.BaseILC import setMode [as 别名]
    def setMode(self, mode):
        BaseILC.setMode(self, mode)
        
        if( self.mode == "install" ):
            if( Version( self.version ) < "1.9.1.1" ):
                self.abort( "ilcinstall only supports installation of CLHEP 1.9.1.1 or greater!" )
            if( Version( self.version ) == "2.0.3.0" and not isinPath( "xiar" )):
                self.abort( "CLHEP 2.0.3.0 requires xiar, that wasn't found in your system!" )

            # download url
            if( Version( self.version ) == "1.9.1.1" or Version( self.version ) == "2.0.1.1" ):
                self.download.url = "http://proj-clhep.web.cern.ch/proj-clhep/export/share/CLHEP/%s/clhep-%s.tgz" \
                        % (self.version, self.version)
            else:
                self.download.url = "http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/distributions/clhep-%s.tgz" \
                        % (self.version,)
		   
        if( Version( self.version ) >= "2.1.3.0" ):
            self.hasCMakeBuildSupport = True
开发者ID:iLCSoft,项目名称:iLCInstall,代码行数:21,代码来源:clhep.py

示例12: setMode

# 需要导入模块: from baseilc import BaseILC [as 别名]
# 或者: from baseilc.BaseILC import setMode [as 别名]
    def setMode(self, mode):
        BaseILC.setMode(self, mode)

        if( Version( self.version ) >= '7.0' ):
            self.download.type = "svn"

            self.download.svnurl = 'http://llrforge.in2p3.fr/svn/Mokka'

            if( Version( self.version ) == 'HEAD' ):
                self.download.svnurl += '/trunk'
            elif 'pre' in self.version or 'dev' in self.version:
                self.download.svnurl += '/branches/' + self.version
            else:
                self.download.svnurl += '/tags/' + self.version
        else:
            self.download.type = "cvs"
        
        if( self.download.username == "anonymous" ):
            self.download.username = "anoncvs"
            self.download.password = "%ilc%"
开发者ID:kislerdm,项目名称:alibava_analysis-tool,代码行数:22,代码来源:mokka.py

示例13: setMode

# 需要导入模块: from baseilc import BaseILC [as 别名]
# 或者: from baseilc.BaseILC import setMode [as 别名]
    def setMode(self, mode):
        BaseILC.setMode(self, mode)

        self.download.url = "ftp://ftp.gnu.org/gnu/gsl/gsl-" + self.version + ".tar.gz"
开发者ID:iLCSoft,项目名称:iLCInstall,代码行数:6,代码来源:gsl.py

示例14: setMode

# 需要导入模块: from baseilc import BaseILC [as 别名]
# 或者: from baseilc.BaseILC import setMode [as 别名]
 def setMode(self, mode):
     BaseILC.setMode(self, mode)       
     self.download.url = "http://www.lpthe.jussieu.fr/~salam/fastjet/repo/fastjet-" + self.version + ".tar.gz"
开发者ID:kislerdm,项目名称:alibava_analysis-tool,代码行数:5,代码来源:fastjet.py

示例15: setMode

# 需要导入模块: from baseilc import BaseILC [as 别名]
# 或者: from baseilc.BaseILC import setMode [as 别名]
    def setMode(self, mode):
        BaseILC.setMode(self, mode)

        self.download.url = "https://cmake.org/files/v%s/cmake-%s.tar.gz" % (self.version[:3], self.version)
开发者ID:iLCSoft,项目名称:iLCInstall,代码行数:6,代码来源:cmake.py


注:本文中的baseilc.BaseILC.setMode方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。