add setup.py #10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "setup"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi, thanks for this nice project.
This PR adds a setup file, which can help for packaging the project (works for me, on NixOS).
Hello @juliendehos, thanks for your interest in this project and sorry for not getting back to you sooner, I completely forgot about this PR.
I’ve never packaged a Python project before, but it seems I need to at least add an empty
__init__.pyfile to ui/, so it’s considered a module, otherwise I get an error. Do you observe the same behaviour?I think it could be better packaged than that, because as is the i18n is not packaged and
uidoes not seem like a proper module name. I’ll make some more tests when I get the time, but it may not be very soon…Oh yes, the
__init__.pyfile is generally required. I've updated the PR (and tested using debian buster and pyqt 5.14).I don't know how to properly package i18n data but it's indeed a good idea.
I may try to improve the packaging later, but in the meantime I merged in
df2ca748ba.Thanks!
Pull request closed