コード例 #1
0
        def run(self):
            """ensure tests are capable of being run, then
            run nose.main with a reconstructed argument list"""
            # Ensure metadata is up-to-date
            build_py = self.get_finalized_command('build_py')
            build_py.inplace = 0
            build_py.run()
            bpy_cmd = self.get_finalized_command("build_py")
            build_path = bpy_cmd.build_lib

            # Build extensions
            egg_info = self.get_finalized_command('egg_info')
            egg_info.egg_base = build_path
            egg_info.run()

            build_ext = self.get_finalized_command('build_ext')
            build_ext.inplace = 0
            build_ext.run()

            _nosetests.run(self)
コード例 #2
0
ファイル: setup.py プロジェクト: cbrand/python-filterparams
        def run(self):
            """ensure tests are capable of being run, then
            run nose.main with a reconstructed argument list"""
            # Ensure metadata is up-to-date
            build_py = self.get_finalized_command('build_py')
            build_py.inplace = 0
            build_py.run()
            bpy_cmd = self.get_finalized_command("build_py")
            build_path = bpy_cmd.build_lib

            # Build extensions
            egg_info = self.get_finalized_command('egg_info')
            egg_info.egg_base = build_path
            egg_info.run()

            build_ext = self.get_finalized_command('build_ext')
            build_ext.inplace = 0
            build_ext.run()

            _nosetests.run(self)
コード例 #3
0
ファイル: setup.py プロジェクト: gemtools/gemtools
 def run(self):
     parent_dir = os.path.split(os.path.abspath(__file__))[0]
     target_dir = "%s/%s" % (parent_dir, "python/gem/gembinaries")
     _install_bundle(target_dir, base=parent_dir + "/downloads")
     _nosetests.run(self)
コード例 #4
0
ファイル: setup.py プロジェクト: MarcosFernandez/gemtools
 def run(self):
     parent_dir = os.path.split(os.path.abspath(__file__))[0]
     target_dir = "%s/%s" % (parent_dir, "python/gem/gembinaries")
     _install_bundle(target_dir, base=parent_dir + "/downloads")
     _nosetests.run(self)