tatliHU / memewebsite

GNU General Public License v3.0
0 stars 2 forks source link

Add Python version and project configuration with initial Justfile #7

Open FlyinPancake opened 2 weeks ago

tatliHU commented 2 weeks ago

Frankly, I have no idea how a justfile works. I suppose it is something like a makefile. How can I run with this and what tools do I need installed on my machine? Can you please write an example either here or to the README?

FlyinPancake commented 2 weeks ago

For now this is just a draft and yes Justfiles are similar to makefiles just with less magic and in my opinion better syntax

radl97 commented 2 weeks ago

Btw, nice of you for suggesting improvements!

[...] this is just a draft[...]

If the project supports it, I think changing this to "Draft PR" would be useful, so the maintainer knows that it's not yet ready to merge (but you are open to suggestions on the feature, hence the PR, if I understand correctly?).

https://github.blog/changelog/2019-02-14-draft-pull-requests/

Also: I've never used pyproject.yaml and .python-version, but I have seen people using it. Some small 3-line setup in the README would be really nice? I guess I'll look these up when I have the time.

I've also just noticed this UV tool:

https://docs.astral.sh/uv/

project ="uv"

print((project + ''.join(reversed(project))).replace("vv","w"))
radl97 commented 2 weeks ago

It would be great to integrate these stuff with the production parts, e.g. using uv or anything related to dependencymanagement, lockfiles and pypi repo, instead of relying on distribution's .deb packages