문제

Well, I wrote a small app that uses PyQt4 and want to distribute it. But the problem is that I have to ask the users to manually install PyQt4 because it cannot be done using setuptools.

So, in reference to this, I wanted to ask if anyone knew the reason why PyQt4 is not on PyPi?

Also, is there any other possible way I could include PyQt4 in my setup.py so that users do not need to install it manually?

Thanks

도움이 되었습니까?

해결책

because they do not provide a setup.py at the root of their package, and thus it can't be handled by the python packaging system. The setup.py is the script that defines all the information for . So it has to be handled by your distribution's package management system.

You could add in your setup.py a function that downloads and install pyqt4 and make that function called at install.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top