this post was submitted on 18 Nov 2024
14 points (67.5% liked)
Programming
17450 readers
71 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Some feedback:
pyproject.toml
you can merge them a single easy to read and edit fileos.path.join(os.environ["APPDATA"], "Tagify", "config.yaml")
will fail on *nix systems. Usepathlib.Path
instead ofos.path
. Use pathlib, I see on a lot more places it would make your life much easier.Keep up the work, it seems like a nice project!
Thanks! I fixed the file icon licensing! However, I'm not sure will pipx help. I already provide a binary Inno Setup installer. Any suggestions how to port it to Linux? I dual boot - so it would be very useful for me.
Python is installed by default on all linux and mac systems, so it's just one more command to install pipx. From there just
pipx install tagify
. You don't need an installer, just specify the build tools in pyproject.toml: https://packaging.python.org/en/latest/specifications/pyproject-toml/#declaring-build-system-dependencies-the-build-system-table e.g. with setuptools: https://setuptools.pypa.io/en/latest/userguide/pyproject_config.htmlIf you publish to pypi it will build the wheel files when you publish a version. That's the easiest way I know.
Innosetup is windows only. On linux you don't need such a thing.