dmarx / not-a-package-manager

utilities to facilitate working with codebases that don't ascribe to normal package management paradigms, e.g. ML research code that can be cloned but not installed.
MIT License
12 stars 0 forks source link

autoinstall #28

Open dmarx opened 1 year ago

dmarx commented 1 year ago
  1. break up the different ways that the main install function can be used into separate functions, i.e. "install1(), install2()..." etc. to communicate to the user "try this, then if that doesn't work: try the next one. if that doesn't work, ..."
  2. if we can modularize different approaches this way, we can probably automate iterating over them and validating that the install took (might need to send a sample validation string?)
  3. encapsulate that whole process into a single convenience function, direct the user to that as their first-line tool.