WoeUSB-ng
WoeUSB-ng copied to clipboard
fix python packaging using latest methods
- Change python packaging method following instructions from https://packaging.python.org/en/latest/tutorials/packaging-projects/
- Remove scripts as they can be created automatically from setup.cfg
- move the sources to src
- setup.py: remove captialization in package names, conflicts with other packaging methods like debian's
- modify licence to gpl3+
- Add setup.cfg and pyproject.toml
- modify MANIFEST.in to include assets
- WoeUSB-ng.desktop: add version and change icon; fixes #11
~~Please separate your changes into individual pull requests, each change should have a rationale to indicate why those changes are necessary and/or beneficial to the project.~~
If I follow the latest python packaging guide (Link in Commit), this is the minimal change that was required. I just moved the sources to src
and added latest python packaging methods i.e. adding the setup.cfg
and pyproject.toml
.
Got it, thanks for the explanation.
Please separate your changes into individual pull requests, each change should have a rationale to indicate why those changes are necessary and/or beneficial to the project.
The changes were required, as I mentioned in commit, to package it for debian and others.
I would suggest do not merge it yet. because the setup.py needs to be cleaned. It would be highly appreciated if you could test the branch. just use pip3 install .
. no need to use sudo
I would also suggest while merging use the Squash and merge option rather than creating a new commit
@brlin-tw you can merge the branch. I have completed all the necessary changes and it works fine.
@brlin-tw A gente reminder that the PR is ready for merge. Thank you.
@brlin-tw Hi. Is this PR going to get merged or should I close this as incomplete?
Hi @hsbasu, thanks for PR. I'm sorry for ignoring this, I had a lot on my head for some time now. I'll try to go over those changes as soon as possible.
FYI, I use this PR without issue to build the aur package available at https://aur.archlinux.org/packages/woeusb-ng.
The pkgbuild file that show the build process is available here.
I'll subscribe to this thread to be notified about the merge to update the package. I can provide help with test or feedback for this PR if needed.