qitaos / robotframework-QTLibrary

This is a test Library.
https://pypi.python.org/pypi/robotframework-qtlibrary
12 stars 15 forks source link

When QTLibrary support python3? #4

Open Linhan-Shenzhen opened 6 years ago

Linhan-Shenzhen commented 6 years ago

windows7-x64 python3.6.5 pip install robotframework-qtlibrary return: D:\Python36\Scripts>pip install robotframework-qtlibrary Collecting robotframework-qtlibrary Using cached https://files.pythonhosted.org/packages/3b/8c/df3d6426367857af568 b22268ea10e7fa89cad824458f07f9b70c13b838f/robotframework-qtlibrary-1.0.2.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in File "C:\Users\ADMINI~1\AppData\Local\Temp\pip-build-5ioutu7c\robotframewo rk-qtlibrary\setup.py", line 19, in with open(join(CURDIR, 'requirements.txt')) as f: FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\ADMINI~1 \AppData\Local\Temp\pip-build-5ioutu7c\robotframework-qtlibrary\requiremen ts.txt'

----------------------------------------
Linhan-Shenzhen commented 6 years ago

在setup.py文件中的19行改一下就OK了,可以安装成功,还没开始使用,修改如下:

reqDir = join(CURDIR, 'src', 'robotframework_qtlibrary.egg-info')
with open(join(reqDir, 'requires.txt')) as f: