OrderedSet86 / gtnh-flow

Factory Optimization Flowcharts for Gregtech: New Horizons
MIT License
74 stars 21 forks source link

Use a modern Python package manager tool #26

Open joegnis opened 2 months ago

joegnis commented 2 months ago

It would be much easier to manage packages and dependencies if we use a tool like poetry or pdm. But the problem is: will this make it harder for our current users to run this project. I think there are two solutions:

  1. the best way: ship this project as an executable file so that users don't need to worry about which tools project use
  2. use a modern tool now and updates readme

Also I have already seen players complained about not knowing how to run this project. Though I haven't tried shipping a Python project as executable yet, if it is not hard, I think sooner is better.

OrderedSet86 commented 2 months ago

I have the most experience with Pipenv, that is another option. It makes a lock file kind of like npm. The problem is that like npm, the lock file can change depending on who is building it in which environment...

Executable makes sense to me but I have no way to test it on Windows to see what the user experience is like. I might be able to spin up a VM and see if that works

joegnis commented 2 months ago

So which platforms are you on? I am mainly on Windows but I also have an old mac machine. I will look into this topic when I have time.