コード例 #1
0
ファイル: desktopshortcut.py プロジェクト: lf1687/MyTools
 def call_creator(self):
     return postinstall.caller(self.GetParent(), sys.platform.lower())
コード例 #2
0
#!C:\Python27\python.exe
#  Copyright 2008-2015 Nokia Networks
#  Copyright 2016-     Robot Framework Foundation
#
#  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.

import os
import sys
from robotide.postinstall import __main__ as postinstall

# Must be protected against reimporting
# As multiprocessing has an odd requirement
# and we use multiprocessing
# http://docs.python.org/library/multiprocessing.html#windows
if __name__ == '__main__':
    postinstall.caller(None, sys.platform.lower())
コード例 #3
0
#!/usr/bin/env python
#  Copyright 2008-2015 Nokia Networks
#  Copyright 2016-     Robot Framework Foundation
#
#  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.


import os
import sys
from robotide.postinstall import __main__ as postinstall

# Must be protected against reimporting
# As multiprocessing has an odd requirement
# and we use multiprocessing
# http://docs.python.org/library/multiprocessing.html#windows
if __name__ == '__main__':
    postinstall.caller(None, sys.platform.lower())
コード例 #4
0
ファイル: desktopshortcut.py プロジェクト: scathaig/RIDE
 def call_creator(self):
     return postinstall.caller(self.GetParent(), sys.platform.lower())
コード例 #5
0
 def call_creator(self, notebook):
     return postinstall.caller(notebook.GetParent(), sys.platform.lower())