資源簡介
自動化測試工具中文件上傳需要的一個數(shù)據(jù)資源

代碼片段和文件信息
“““
Package:?robotframework-AutoItLibrary
Module:??AutoItLibrary?Installation?Module
Purpose:?This?is?a?Python?“Distutils“?setup?program?used?to?build?installers?for?and?to?install?the
?????????robotframework-AutoItLibrary.
?????????Copyright?(c)?2008-2010?Texas?Instruments?Inc.
?????????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.
“““
__author__??=?“Martin?Taylor?“
from?distutils.core??????import?setup
from?distutils.sysconfig?import?get_python_lib
import?sys
import?os
import?shutil
import?subprocess
CLASSIFIERS?=?“““
Development?Status?::?5?-?Production/Stable
License?::?OSI?Approved?::?Apache?Software?License
Operating?System?::?Microsoft?::?Windows
Programming?Language?::?Python
Topic?::?Software?Development?::?Testing
“““[1:-1]
DEscriptION?=?“““
AutoItLibrary?is?a?Robot?framework?keyword?library?wrapper?for?for?the
freeware?AutoIt?tool?(http://www.autoitscript.com/autoit3/index.shtml)
using?AutoIt‘s?AutoItX.dll?COM?object.?The?AutoItLibrary?class
provides?a?proxy?for?the?AutoIt?keywords?callable?on?the?AutoIt?COM
object?and?provides?additional?high-level?keywords?implemented?as
methods?in?this?class.
“““[1:-1]
if?__name__?==?“__main__“:
????#
????#?Install?the?3rd?party?packages
????#
????if?sys.argv[1].lower()?==?“install“?:
????????if?os.name?==?“nt“?:
????????????#
????????????#?Install?and?register?AutoItX
????????????#
????????????if?os.path.isfile(os.path.join(get_python_lib()?“AutoItLibrary/lib/AutoItX3.dll“))?:
????????????????print?“Don‘t?think?we?need?to?unregister?the?old?one...“
????????????instDir?=?os.path.normpath(os.path.join(get_python_lib()?“AutoItLibrary/lib“))
????????????if?not?os.path.isdir(instDir)?:
????????????????os.makedirs(instDir)
????????????instFile?=?os.path.normpath(os.path.join(instDir?“AutoItX3.dll“))
????????????shutil.copyfile(“3rdPartyTools/AutoIt/AutoItX3.dll“?instFile)
????????????#
????????????#?Register?the?AutoItX?COM?object
????????????#?and?make?its?methods?known?to?Python
????????????#
????????????cmd?=?r“%SYSTEMROOT%\system32\regsvr32.exe?/S?“?+?instFile
????????????print?cmd
????????????subprocess.check_call(cmd?shell=True)
????????????makepy?=?os.path.normpath(os.path.join(get_python_lib()?“win32com/client/makepy.py“))
????????????#
????????????#?Make?sure?we?have?win32com?installed
????????????#
????????????if?not?os.path.isfile(makepy)?:
?????????
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????185728??2010-04-16?02:49??AutoItLibrary-1.1_x64\3rdPartyTools\AutoIt\Au3Info.exe
?????文件?????183056??2010-04-16?02:49??AutoItLibrary-1.1_x64\3rdPartyTools\AutoIt\AutoItX.chm
?????文件?????378760??2013-08-02?16:36??AutoItLibrary-1.1_x64\3rdPartyTools\AutoIt\AutoItX3.dll
?????文件???????4954??2009-11-12?08:45??AutoItLibrary-1.1_x64\3rdPartyTools\AutoIt\AutoIt_License.html
?????文件???????1225??2009-11-12?08:45??AutoItLibrary-1.1_x64\build\lib\AutoItLibrary\Counter.py
?????文件???????5813??2009-11-12?08:45??AutoItLibrary-1.1_x64\build\lib\AutoItLibrary\Logger.py
?????文件??????17023??2013-08-09?15:06??AutoItLibrary-1.1_x64\build\lib\AutoItLibrary\__init__.py
?????文件????????586??2009-11-12?08:45??AutoItLibrary-1.1_x64\COPYRIGHT.txt
?????文件??????38359??2010-04-23?15:38??AutoItLibrary-1.1_x64\doc\AutoItLibrary.html
?????文件???????1148??2013-08-02?15:38??AutoItLibrary-1.1_x64\files.txt
?????文件???????9522??2009-11-12?08:45??AutoItLibrary-1.1_x64\LICENSE.txt
?????文件????????975??2010-04-23?15:38??AutoItLibrary-1.1_x64\PKG-INFO
?????文件???????1534??2009-11-12?08:45??AutoItLibrary-1.1_x64\README.txt
?????文件???????5568??2013-08-17?15:29??AutoItLibrary-1.1_x64\setup.py
?????文件???????1225??2009-11-12?08:45??AutoItLibrary-1.1_x64\src\AutoItLibrary\Counter.py
?????文件???????5813??2009-11-12?08:45??AutoItLibrary-1.1_x64\src\AutoItLibrary\Logger.py
?????文件??????17023??2013-08-09?15:06??AutoItLibrary-1.1_x64\src\AutoItLibrary\__init__.py
?????文件???????5857??2010-04-23?14:03??AutoItLibrary-1.1_x64\tests_cn\CalculatorGUIMap.py
?????文件???????3323??2013-08-02?16:45??AutoItLibrary-1.1_x64\tests_cn\CalculatorGUIMap.pyc
?????文件??????20512??2013-08-17?15:24??AutoItLibrary-1.1_x64\tests_cn\Calculator_Test_Cases.html
?????文件?????198898??2013-08-02?17:11??AutoItLibrary-1.1_x64\tests_cn\results\log.html
?????文件???????8864??2013-08-02?17:11??AutoItLibrary-1.1_x64\tests_cn\results\output.xm
?????文件?????201156??2013-08-02?17:11??AutoItLibrary-1.1_x64\tests_cn\results\report.html
?????文件?????????73??2009-11-12?08:45??AutoItLibrary-1.1_x64\tests_cn\RobotIDE.bat
?????文件????????952??2009-11-12?08:45??AutoItLibrary-1.1_x64\tests_cn\RunTests.bat
?????文件???????1495??2010-04-23?09:44??AutoItLibrary-1.1_x64\tests_cn\__init__.html
?????文件???????5857??2010-04-23?14:03??AutoItLibrary-1.1_x64\tests_en\CalculatorGUIMap.py
?????文件???????3363??2013-08-02?14:55??AutoItLibrary-1.1_x64\tests_en\CalculatorGUIMap.pyc
?????文件??????18670??2010-04-23?14:07??AutoItLibrary-1.1_x64\tests_en\Calculator_Test_Cases.html
?????文件?????199363??2013-08-02?14:56??AutoItLibrary-1.1_x64\tests_en\results\log.html
............此處省略21個文件信息
- 上一篇:ONENET筆記
- 下一篇:基于PID算法的電加熱爐溫度控制仿真
評論
共有 條評論