[PyQt] ANN: pyqtdeploy v2.0 Released

Phil Thompson phil at riverbankcomputing.com
Fri Jan 5 22:43:44 GMT 2018


On 5 Jan 2018, at 8:45 pm, MOHAMED BLACK <bl3a3ck at gmail.com> wrote:
> 
> hi Phil
> thank you for the new version
> 
> i just hit an error message when testing the demo project
> i hope u can help if there is missing configuration?
> 
> windows7 x64
> VS2015
> python-3.6.4.exe
> qt-opensource-windows-x86-5.9.3.exe
> qt-everywhere-opensource-src-5.9.3.zip
> sip-4.19.7.dev1712301237.zip
> PyQt5_gpl-5.9.3.dev1712202212.zip
> pyqtdeploy-b48a79138484.zip
> openssl-1.0.2n.tar.gz
> 
> 1- edit sysroot.json and replace .tar.gz with .zip
> 2- installed python 2.7.14 must for the qt build
> 3- add Strawberry-perl to path must for openssl
> 4- add nasm-2.11.06 to path must for openssl
> 5- run build-demo.py
> 
> oppessl  and qt5 build successfully 
> when starting to build target python i get 
> 
> Installing an existing Python v3.6.4 as the host Python
> Building the target Python from source
> Configuring Python v3.6.4 for win-32
> Installing C:\demo\sysroot-win-32\build\Python-3.6.4\Modules\config.c
> Traceback (most recent call last):
>   File "C:\Python36-32\Scripts\pyqtdeploy-sysroot-script.py", line 11, in <module>
>     load_entry_point('pyqtdeploy==0.0.dev0', 'console_scripts', 'pyqtdeploy-sysroot')()
>   File "C:\Python36-32\lib\site-packages\pyqtdeploy-0.0.dev0-py3.6.egg\pyqtdeploy\pyqtdeploysysroot_main.py", line 83, in main
>     sysroot.build_components(args.component, args.no_clean)
>   File "C:\Python36-32\lib\site-packages\pyqtdeploy-0.0.dev0-py3.6.egg\pyqtdeploy\sysroot\sysroot.py", line 102, in build_components
>     component.build(self)
>   File "C:\Python36-32\lib\site-packages\pyqtdeploy-0.0.dev0-py3.6.egg\pyqtdeploy\sysroot\plugins\python\python.py", line 98, in build
>     self._build_target_from_source(sysroot, archive)
>   File "C:\Python36-32\lib\site-packages\pyqtdeploy-0.0.dev0-py3.6.egg\pyqtdeploy\sysroot\plugins\python\python.py", line 196, in _build_target_from_source
>     configure_python(self.dynamic_loading, sysroot)
>   File "C:\Python36-32\lib\site-packages\pyqtdeploy-0.0.dev0-py3.6.egg\pyqtdeploy\sysroot\plugins\python\configure_python.py", line 54, in configure_python
>     configurations_dir.absoluteFilePath(config_c_src_file),
> AttributeError: 'NoneType' object has no attribute 'absoluteFilePath'

I've just uploaded v2.0.1 - that should fix it.

Thanks,
Phil


More information about the PyQt mailing list