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


Python Exit.printThisIsNoExecutableFile方法代码示例

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


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

示例1: ExceptionBase

# 需要导入模块: from lib.Functions import Exit [as 别名]
# 或者: from lib.Functions.Exit import printThisIsNoExecutableFile [as 别名]
#   http://www.apache.org/licenses/LICENSE-2.0
# 
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================

# entry point
if __name__ != "__main__":
	# place library initialization code here
	pass
else:
	from lib.Functions import Exit
	Exit.printThisIsNoExecutableFile("The PoC-Library - Python Module Base.Exceptions")


class ExceptionBase(Exception):
	def __init__(self, message=""):
		super().__init__()
		self.message = message

	def __str__(self):
		return self.message

class EnvironmentException(ExceptionBase):
	pass

class PlatformNotSupportedException(ExceptionBase):
	pass
开发者ID:krabo0om,项目名称:PoC,代码行数:33,代码来源:Exceptions.py

示例2: AldecException

# 需要导入模块: from lib.Functions import Exit [as 别名]
# 或者: from lib.Functions.Exit import printThisIsNoExecutableFile [as 别名]
#   http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
#
# entry point
if __name__ != "__main__":
	# place library initialization code here
	pass
else:
	from lib.Functions import Exit
	Exit.printThisIsNoExecutableFile("The PoC-Library - Python Module  ToolChains.Aldec.Aldec")


from Base.Configuration    import Configuration as BaseConfiguration
from Base.ToolChain        import ToolChainException


class AldecException(ToolChainException):
	pass


class Configuration(BaseConfiguration):
	_vendor =      "Aldec"
	_toolName =    None  # automatically configure only vendor path
	_section  =    "INSTALL.Aldec"
	_template = {
开发者ID:Kirtika-1989,项目名称:PoC,代码行数:33,代码来源:Aldec.py

示例3: ActiveHDLException

# 需要导入模块: from lib.Functions import Exit [as 别名]
# 或者: from lib.Functions.Exit import printThisIsNoExecutableFile [as 别名]
#   http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
#
# entry point
if __name__ != "__main__":
	# place library initialization code here
	pass
else:
	from lib.Functions import Exit
	Exit.printThisIsNoExecutableFile("PoC Library - Python Module ToolChains.Lattice.ActiveHDL")


from subprocess                  import check_output

from Base.Configuration          import Configuration as BaseConfiguration, ConfigurationException
from ToolChains.Lattice.Lattice  import LatticeException


class ActiveHDLException(LatticeException):
	pass


class Configuration(BaseConfiguration):
	_vendor =    "Lattice"
	_toolName =  "Active-HDL Lattice Edition"
开发者ID:Kirtika-1989,项目名称:PoC,代码行数:33,代码来源:ActiveHDL.py

示例4: Simulator

# 需要导入模块: from lib.Functions import Exit [as 别名]
# 或者: from lib.Functions.Exit import printThisIsNoExecutableFile [as 别名]
#		http://www.apache.org/licenses/LICENSE-2.0
# 
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
#
# entry point
if __name__ != "__main__":
	# place library initialization code here
	pass
else:
	from lib.Functions import Exit
	Exit.printThisIsNoExecutableFile("The PoC-Library - Python Module Simulator.GHDLSimulator")

# load dependencies
from pathlib import Path

from Base.Exceptions import *
from Simulator.Base import PoCSimulator 
from Simulator.Exceptions import * 

class Simulator(PoCSimulator):

	__executables =		{}
	__vhdlStandard =	"93"
	__guiMode =				False

	def __init__(self, host, showLogs, showReport, vhdlStandard, guiMode):
开发者ID:hoangt,项目名称:PoC,代码行数:33,代码来源:GHDLSimulator.py

示例5:

# 需要导入模块: from lib.Functions import Exit [as 别名]
# 或者: from lib.Functions.Exit import printThisIsNoExecutableFile [as 别名]
#   http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
#
# entry point
if __name__ != "__main__":
	# place library initialization code here
	pass
else:
	from lib.Functions import Exit
	Exit.printThisIsNoExecutableFile("PoC Library - Python Module ToolChains.Xilinx.ISE")


from subprocess            import check_output

from Base.Configuration          import Configuration as BaseConfiguration, ConfigurationException
from Base.Exceptions            import PlatformNotSupportedException
from Base.Executable            import Executable
from Base.Executable            import ExecutableArgument, ShortFlagArgument, ShortTupleArgument, StringArgument, CommandLineArgumentList
from Base.Logging                import LogEntry, Severity
from Base.Project                import Project as BaseProject, ProjectFile, ConstraintFile, FileTypes
from Base.Simulator              import SimulationResult, PoCSimulationResultFilter
from ToolChains.Xilinx.Xilinx    import XilinxException
from lib.Functions              import CallByRefParam

开发者ID:krabo0om,项目名称:PoC,代码行数:31,代码来源:ISE.py

示例6:

# 需要导入模块: from lib.Functions import Exit [as 别名]
# 或者: from lib.Functions.Exit import printThisIsNoExecutableFile [as 别名]
#    
#
# License:
# ==============================================================================
# Copyright 2007-2016 Technische Universitaet Dresden - Germany
#                     Chair for VLSI-Design, Diagnostics and Architecture
# 
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# 
#    http://www.apache.org/licenses/LICENSE-2.0
# 
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
#
# entry point
if __name__ != "__main__":
	# place library initialization code here
	pass
else:
	from lib.Functions import Exit
	Exit.printThisIsNoExecutableFile("The PoC-Library - Repository Service Tool")

# load dependencies

开发者ID:Kirtika-1989,项目名称:PoC,代码行数:31,代码来源:__init__.py

示例7: EntityTypes

# 需要导入模块: from lib.Functions import Exit [as 别名]
# 或者: from lib.Functions.Exit import printThisIsNoExecutableFile [as 别名]
#   http://www.apache.org/licenses/LICENSE-2.0
# 
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================

# entry point
if __name__ != "__main__":
	# place library initialization code here
	pass
else:
	from lib.Functions import Exit
	Exit.printThisIsNoExecutableFile("The PoC-Library - Python Module PoC.Entity")


# load dependencies
from collections          import OrderedDict
from enum                 import Enum, unique
from pathlib              import Path
from flags                import Flags

from lib.Functions        import Init
from lib.Decorators       import LazyLoadTrigger, ILazyLoadable
from Base.Configuration   import ConfigurationException


@unique
class EntityTypes(Enum):
开发者ID:krabo0om,项目名称:PoC,代码行数:33,代码来源:Entity.py

示例8: PoCProcessor

# 需要导入模块: from lib.Functions import Exit [as 别名]
# 或者: from lib.Functions.Exit import printThisIsNoExecutableFile [as 别名]
#		http://www.apache.org/licenses/LICENSE-2.0
# 
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
#
# entry point
if __name__ != "__main__":
	# place library initialization code here
	pass
else:
	from lib.Functions import Exit
	Exit.printThisIsNoExecutableFile("The PoC-Library - Python Module Processor.Base")

# load dependencies
from Base.Exceptions import *

class PoCProcessor(object):
	__host = None
	__debug = False
	__verbose = False
	__quiet = False
	showLogs = False
	showReport = False
	dryRun = False

	def __init__(self, host, showLogs, showReport):
		self.__debug = host.getDebug()
开发者ID:gitter-badger,项目名称:PoC,代码行数:33,代码来源:Base.py

示例9: MentorException

# 需要导入模块: from lib.Functions import Exit [as 别名]
# 或者: from lib.Functions.Exit import printThisIsNoExecutableFile [as 别名]
#   http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
#
# entry point
if __name__ != "__main__":
	# place library initialization code here
	pass
else:
	from lib.Functions import Exit
	Exit.printThisIsNoExecutableFile("PoC Library - Python Module ToolChains.Mentor.QuestaSim")


from Base.Configuration import Configuration as BaseConfiguration
from Base.ToolChain      import ToolChainException


class MentorException(ToolChainException):
	pass


class Configuration(BaseConfiguration):
	_vendor =      "Mentor"
	_toolName =    None  # automatically configure only vendor path
	_section =    "INSTALL.Mentor"
	_template = {
开发者ID:Kirtika-1989,项目名称:PoC,代码行数:33,代码来源:Mentor.py

示例10: ModelSimException

# 需要导入模块: from lib.Functions import Exit [as 别名]
# 或者: from lib.Functions.Exit import printThisIsNoExecutableFile [as 别名]
#   http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
#
# entry point
if __name__ != "__main__":
	# place library initialization code here
	pass
else:
	from lib.Functions import Exit
	Exit.printThisIsNoExecutableFile("PoC Library - Python Module ToolChains.Altera.ModelSim")


from re                      import compile as RegExpCompile
from subprocess             import check_output

from Base.Configuration import Configuration as BaseConfiguration, ConfigurationException
from ToolChains.Altera.Altera import AlteraException


class ModelSimException(AlteraException):
	pass


class Configuration(BaseConfiguration):
	_vendor =    "Altera"
开发者ID:Kirtika-1989,项目名称:PoC,代码行数:33,代码来源:ModelSim.py

示例11: Configuration

# 需要导入模块: from lib.Functions import Exit [as 别名]
# 或者: from lib.Functions.Exit import printThisIsNoExecutableFile [as 别名]
#   http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
#
# entry point
if __name__ != "__main__" :
	# place library initialization code here
	pass
else :
	from lib.Functions import Exit
	Exit.printThisIsNoExecutableFile("PoC Library - Python Module ToolChains.Xilinx.HardwareServer")

from Base.Configuration import Configuration as BaseConfiguration


class Configuration(BaseConfiguration):
	_vendor =    "Xilinx"
	_toolName =  "Xilinx HardwareServer"
	_section =   "INSTALL.Xilinx.HardwareServer"
	_template = {
		"Windows": {
			_section: {
				"Version":                "2015.4",
				"InstallationDirectory":  "${INSTALL.Xilinx:InstallationDirectory}/Vivado/${Version}",
				"BinaryDirectory":        "${InstallationDirectory}/bin"
			}
开发者ID:Kirtika-1989,项目名称:PoC,代码行数:33,代码来源:HardwareServer.py

示例12:

# 需要导入模块: from lib.Functions import Exit [as 别名]
# 或者: from lib.Functions.Exit import printThisIsNoExecutableFile [as 别名]
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================

# entry point
from PoC.Entity import Visibility


if __name__ != "__main__":
	# place library initialization code here
	pass
else:
	from lib.Functions import Exit
	Exit.printThisIsNoExecutableFile("The PoC-Library - Python Module PoC.Project")


# load dependencies
from collections import OrderedDict
from textwrap import dedent

from lib.Decorators      import ILazyLoadable, LazyLoadTrigger
from Base.Exceptions    import CommonException
from Base.Configuration import ConfigurationException
from Base.Project        import Project as BaseProject, File, FileTypes, VHDLSourceFile, VerilogSourceFile, CocotbSourceFile  #, ProjectFile
from Parser.FilesParser  import FilesParserMixIn
from Parser.RulesParser  import RulesParserMixIn
from PoC                import __POC_SOLUTION_KEYWORD__

开发者ID:Kirtika-1989,项目名称:PoC,代码行数:31,代码来源:Solution.py

示例13: ExecutableException

# 需要导入模块: from lib.Functions import Exit [as 别名]
# 或者: from lib.Functions.Exit import printThisIsNoExecutableFile [as 别名]
#   http://www.apache.org/licenses/LICENSE-2.0
# 
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
#
# entry point
if __name__ != "__main__":
	# place library initialization code here
	pass
else:
	from lib.Functions import Exit
	Exit.printThisIsNoExecutableFile("PoC Library - Python Module Base.Executable")

# load dependencies
from pathlib                import Path
from subprocess              import Popen				as Subprocess_Popen
from subprocess              import PIPE					as Subprocess_Pipe
from subprocess              import STDOUT				as Subprocess_StdOut

from Base.Exceptions        import CommonException
from Base.Logging            import ILogable


class ExecutableException(BaseException):
	def __init__(self, message=""):
		super().__init__(message)
		self.message = message
开发者ID:krabo0om,项目名称:PoC,代码行数:33,代码来源:Executable.py

示例14:

# 需要导入模块: from lib.Functions import Exit [as 别名]
# 或者: from lib.Functions.Exit import printThisIsNoExecutableFile [as 别名]
#   http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
#
# entry point
if __name__ != "__main__":
	# place library initialization code here
	pass
else:
	from lib.Functions import Exit
	Exit.printThisIsNoExecutableFile("PoC Library - Python Module ToolChains.GHDL")


from pathlib                import Path
from re                     import compile as RegExpCompile
from subprocess             import check_output, CalledProcessError

from Base.Configuration     import Configuration as BaseConfiguration, ConfigurationException
from Base.Exceptions        import PlatformNotSupportedException
from Base.Executable        import Executable
from Base.Executable        import ExecutableArgument, PathArgument, StringArgument, ValuedFlagListArgument
from Base.Executable        import ShortFlagArgument, LongFlagArgument, ShortValuedFlagArgument, CommandLineArgumentList
from Base.Logging           import LogEntry, Severity
from Base.Simulator         import PoCSimulationResultFilter, SimulationResult
from Base.ToolChain         import ToolChainException
from lib.Functions          import CallByRefParam
开发者ID:krabo0om,项目名称:PoC,代码行数:33,代码来源:GHDL.py

示例15: XilinxException

# 需要导入模块: from lib.Functions import Exit [as 别名]
# 或者: from lib.Functions.Exit import printThisIsNoExecutableFile [as 别名]
#   http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
#
# entry point
if __name__ != "__main__":
	# place library initialization code here
	pass
else:
	from lib.Functions import Exit
	Exit.printThisIsNoExecutableFile("The PoC-Library - Python Module ToolChains.Xilinx.Xilinx")


from os                   import environ
from pathlib              import Path

from Base.Configuration   import Configuration as BaseConfiguration
from Base.Project         import FileTypes, VHDLVersion
from Base.ToolChain       import ToolChainException


class XilinxException(ToolChainException):
	pass

class Configuration(BaseConfiguration):
	_vendor =      "Xilinx"
开发者ID:krabo0om,项目名称:PoC,代码行数:33,代码来源:Xilinx.py


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