[dist] Make dvr-scan installable via pyproject.toml.#205
[dist] Make dvr-scan installable via pyproject.toml.#205frafra wants to merge 2 commits intoBreakthrough:mainfrom
Conversation
dca86d6 to
8fc5c98
Compare
|
I updated the Dockerfile, so that it builds from the source code, using I set the PR as draft, since I notice that not all the code is installed when building the container, and the dynamic versioning needs to be configured in I also noticed that the |
|
Thanks for doing this, it's been on my radar for some time but I haven't gotten around to it yet.
Indeed, that's only in the |
I have no hurry, and the PR is not even complete, so that is totally fine to me. |
d40559b to
d8f084d
Compare
|
I had some issues converting to a pure Would you be willing to rebase this PR to get it in for the next release? Thanks! (P.S. Please let me know if you have any issues with |
6ffa59e to
5cefd51
Compare
a38ce9d to
5711a36
Compare
d6e1e57 to
5094906
Compare
36b111d to
cea454e
Compare
41baa78 to
80b931a
Compare
8fc5c98 to
b3aa673
Compare
b3aa673 to
b05fbd1
Compare
|
Hi @Breakthrough :) I found time to fix it. Rebased, updated. It works for me :) |
Migrate from the deprecated
setup.pytopyproject.toml.I did the migration using hatch, via
uv tool run hatch new --initand did some minor adjustments.It would be also possible to add optional dependencies, like opencv with pillow, but it is not possible to run
dvr-scanwithout them, so I just made them mandatory, to reflect the current status of the software.The tool can now be installed from git like using uv/uvx, like this: