erwanp / qtplaskin

A graphical tool to explore ZdPlaskin Results
GNU Lesser General Public License v3.0
7 stars 5 forks source link

Fix packaging #11

Closed erwanp closed 4 years ago

erwanp commented 5 years ago

QtPlaskin original package could be deployed as a self-contained app.

In the process of making it an installable Python package I did not ensure that QtPlaskin could still be packaged (this is discussed in this discussion on the original repo). According to @aluque that feature remains important for users:

Regarding the packaging I found that some people used this software just because it was packaged so conveniently but I had to use some tricks to produce the self-contained distribution files. I have no idea on whether the packaging libraries have improved since.

Before deploying to PyPi we should therefore fix that.

@aluque used py2exe. However the package is not actively maintained anymore. We should therefore switch to pyinstaller.

@githeap what do you think?

TODO list (from comments)

githeap commented 5 years ago

Packaging QtPlaskin as self-contained app is very important, indeed. Especially for Windows users, I guess. We need to do it for release version. I am Linux user and pypi package is what I want.
I don't know how to fix packaging yet, but eventually we will do it. At the moment I am looking at Veusz. We shall do something similar. As small improvement we can add qtplaskin logo and desktop file (for Linux users or shortcut for Windows) and install script that copies it in respective places (~/Desktop/ or ~/.local/share/applications).

erwanp commented 4 years ago

Hey @githeap . I managed to package and generate a .exe on Windows with Pyinstaller. The procedure is detailed in qtplaskin/cli.py (2 lines)

erwanp commented 3 years ago

Hey @githeap . Digging this out, but I think this was the latest change required before actually merging to Aluque's! https://github.com/aluque/qtplaskin/pull/5

What do you think is left ? Does it fix #17 ??