mxcube / mxcubecore

Backend used by MXCuBE
http://mxcube.github.io/mxcube/
GNU Lesser General Public License v3.0
13 stars 53 forks source link

Would it be possible to generate requirements.txt file? #1063

Open fabcor-maxiv opened 2 hours ago

fabcor-maxiv commented 2 hours ago

Would it be possible to generate requirements.txt files in parallel with / from the pyproject.toml and poetry.lock files? This would allow people to work with non-poetry installations and make it easier (for some, at least) to deal with problems like the one I came across here (https://github.com/mxcube/mxcubecore/issues/1061).

Originally posted by @rhfogh in https://github.com/mxcube/mxcubecore/issues/1061#issuecomment-2441511514

fabcor-maxiv commented 2 hours ago

@rhfogh, for confirmation, what would you like to see in this requirements.txt file?

rhfogh commented 2 hours ago

@marcus-oscarsson Not sure I know enough to give a good answer. Basically that you can put those requirements.txt files to pip or conda, get a full installation that way, and get something that works. In my normal way of working I would generally be happy with loose constraints and only pin versions if there was a specific reason that things would break otherwise. But you guys, understanding the installation procedure better than I do, might have something to say, here.