[PyQt] ANN: pyqtdeploy v0.1 Released

Florian Bruhin me at the-compiler.org
Thu Mar 27 10:56:01 GMT 2014


* Phil Thompson <phil at riverbankcomputing.com> [2014-03-26 18:02:04 +0000]:
> pyqtdeploy v0.1 has been released. It can be installed from PyPI and there
> is a public Mercurial repository.
> 
> Documentation is at http://pyqt.sourceforge.net/Docs/pyqtdeploy/
> 
> It requires PyQt5 and Python v3 to run. At the moment it only supports PyQt5
> and Python v3 applications. For the next release I will look at adding
> support for PyQt4 and Python v2. I will look at supporting cross-compiling
> (ie. iOS and Android) in a later release - although there is nothing
> stopping you doing that manually now.
> 
> If you are building static versions of SIP, PyQt5 and QScintilla then you
> will need the current snapshots as they contains fixes for static builds.
> 
> This is very much a v0.1 release. Comments and suggestions are welcome.

Turns out it wasn't a good idea to attach the project file, next try...

* Phil Thompson <phil at riverbankcomputing.com> [2014-03-26 18:02:04 +0000]:
> pyqtdeploy v0.1 has been released. It can be installed from PyPI and there
> is a public Mercurial repository.
>
> Documentation is at http://pyqt.sourceforge.net/Docs/pyqtdeploy/
>
> It requires PyQt5 and Python v3 to run. At the moment it only supports PyQt5
> and Python v3 applications. For the next release I will look at adding
> support for PyQt4 and Python v2. I will look at supporting cross-compiling
> (ie. iOS and Android) in a later release - although there is nothing
> stopping you doing that manually now.
>
> If you are building static versions of SIP, PyQt5 and QScintilla then you
> will need the current snapshots as they contains fixes for static builds.
>
> This is very much a v0.1 release. Comments and suggestions are welcome.

I tried it with my project qutebrowser[1] and since I didn't know what
to do, listed the __main__.py[2] as main file since that's the entry
point. The pdy file is at [3].

I got this traceback:

Traceback (most recent call last):
  File "/usr/lib/python3.3/site-packages/pyqtdeploy/gui/project_gui.py", line 214, in _build_project
    Builder(project).build(build_dir)
  File "/usr/lib/python3.3/site-packages/pyqtdeploy/builder/builder.py", line 107, in build
    self._write_qmake(build_dir, freeze)
  File "/usr/lib/python3.3/site-packages/pyqtdeploy/builder/builder.py", line 196, in _write_qmake
    if metadata.qt is not None:

Also, you might want to consider adding some newlines to the generated
file, not sure if whatever library you're using supports that -- it'd
make less terminals/editors/... get really slow because of the long
line.

[1] http://git.the-compiler.org/qutebrowser/tree/qutebrowser
[2] http://git.the-compiler.org/qutebrowser/tree/qutebrowser/__main__.py
[3] http://the-compiler.org/tmp/qutebrowser.pdy

-- 
() ascii ribbon campaign - stop html mail    www.asciiribbon.org
/\ www.the-compiler.org  | I love long mails http://email.is-not-s.ms/
I'm hungry, time to eat lunch. 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140327/3bae15a0/attachment.pgp>


More information about the PyQt mailing list