當前位置: 首頁>>代碼示例>>Python>>正文


Python test.initialize_options方法代碼示例

本文整理匯總了Python中setuptools.command.test.test.initialize_options方法的典型用法代碼示例。如果您正苦於以下問題:Python test.initialize_options方法的具體用法?Python test.initialize_options怎麽用?Python test.initialize_options使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在setuptools.command.test.test的用法示例。


在下文中一共展示了test.initialize_options方法的13個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。

示例1: initialize_options

# 需要導入模塊: from setuptools.command.test import test [as 別名]
# 或者: from setuptools.command.test.test import initialize_options [as 別名]
def initialize_options(self):
        test_command.initialize_options(self)
        self.pytest_args = [] 
開發者ID:yang3yen,項目名稱:pysm4,代碼行數:5,代碼來源:setup.py

示例2: initialize_options

# 需要導入模塊: from setuptools.command.test import test [as 別名]
# 或者: from setuptools.command.test.test import initialize_options [as 別名]
def initialize_options(self):
        TestCommand.initialize_options(self)
        self.pytest_args = list() 
開發者ID:it-geeks-club,項目名稱:pyspectator,代碼行數:5,代碼來源:setup.py

示例3: initialize_options

# 需要導入模塊: from setuptools.command.test import test [as 別名]
# 或者: from setuptools.command.test.test import initialize_options [as 別名]
def initialize_options(self):
        TestCommand.initialize_options(self)
        self.pytest_args = "" 
開發者ID:huge-success,項目名稱:sanic,代碼行數:5,代碼來源:setup.py

示例4: initialize_options

# 需要導入模塊: from setuptools.command.test import test [as 別名]
# 或者: from setuptools.command.test.test import initialize_options [as 別名]
def initialize_options(self):
        """Initialize options.""" 
開發者ID:endgameinc,項目名稱:eqllib,代碼行數:4,代碼來源:setup.py

示例5: initialize_options

# 需要導入模塊: from setuptools.command.test import test [as 別名]
# 或者: from setuptools.command.test.test import initialize_options [as 別名]
def initialize_options(self):
        TestCommand.initialize_options(self)
        self.pytest_args = [] 
開發者ID:edibledinos,項目名稱:pwnypack,代碼行數:5,代碼來源:setup.py

示例6: initialize_options

# 需要導入模塊: from setuptools.command.test import test [as 別名]
# 或者: from setuptools.command.test.test import initialize_options [as 別名]
def initialize_options(self):
        install_command.initialize_options(self)
        self.use_cython = 0
        self.use_source = 0 
開發者ID:orbingol,項目名稱:NURBS-Python,代碼行數:6,代碼來源:setup.py

示例7: initialize_options

# 需要導入模塊: from setuptools.command.test import test [as 別名]
# 或者: from setuptools.command.test.test import initialize_options [as 別名]
def initialize_options(self):
        TestCommand.initialize_options(self)
        self.tox_args = ['-v', '-r'] 
開發者ID:ansible,項目名稱:pytest-mp,代碼行數:5,代碼來源:setup.py

示例8: initialize_options

# 需要導入模塊: from setuptools.command.test import test [as 別名]
# 或者: from setuptools.command.test.test import initialize_options [as 別名]
def initialize_options(self):
        TestCommand.initialize_options(self)
        try:
            from multiprocessing import cpu_count

            self.pytest_args = ["-n", str(cpu_count()), "--boxed"]
        except (ImportError, NotImplementedError):
            self.pytest_args = ["-n", "1", "--boxed"] 
開發者ID:python-poetry,項目名稱:poetry,代碼行數:10,代碼來源:setup.py

示例9: initialize_options

# 需要導入模塊: from setuptools.command.test import test [as 別名]
# 或者: from setuptools.command.test.test import initialize_options [as 別名]
def initialize_options(self):
        TestCommand.initialize_options(self)
        self.pytest_args = ['--cov=irl_benchmark', '--cov-report=html', '--cov-report=term', '--cov-report=xml'] 
開發者ID:JohannesHeidecke,項目名稱:irl-benchmark,代碼行數:5,代碼來源:setup.py

示例10: initialize_options

# 需要導入模塊: from setuptools.command.test import test [as 別名]
# 或者: from setuptools.command.test.test import initialize_options [as 別名]
def initialize_options(self):
        TestCommand.initialize_options(self)
        self.pytest_args = []
        self.coverage = False
        self.html = False 
開發者ID:dafiti,項目名稱:causalimpact,代碼行數:7,代碼來源:setup.py

示例11: initialize_options

# 需要導入模塊: from setuptools.command.test import test [as 別名]
# 或者: from setuptools.command.test.test import initialize_options [as 別名]
def initialize_options(self):
        TestCommand.initialize_options(self)
        self.pytest_args = '' 
開發者ID:zulip,項目名稱:zulip-terminal,代碼行數:5,代碼來源:setup.py

示例12: initialize_options

# 需要導入模塊: from setuptools.command.test import test [as 別名]
# 或者: from setuptools.command.test.test import initialize_options [as 別名]
def initialize_options(self):
        pass 
開發者ID:maciejkula,項目名稱:glove-python,代碼行數:4,代碼來源:setup.py

示例13: initialize_options

# 需要導入模塊: from setuptools.command.test import test [as 別名]
# 或者: from setuptools.command.test.test import initialize_options [as 別名]
def initialize_options(self):
        TestCommand.initialize_options(self)
        self.pytest_args = "tests" 
開發者ID:mikeperry-tor,項目名稱:vanguards,代碼行數:5,代碼來源:setup.py


注:本文中的setuptools.command.test.test.initialize_options方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。