rye icon indicating copy to clipboard operation
rye copied to clipboard

Expose Rye as a Library

Open haixuanTao opened this issue 2 years ago • 1 comments

Having python dependencies is hard to manage when called from other languages. If Rye could install those dependencies through a library, that would make it a lot easier to integrate python dependencies within Rust or other languages.

Issues that could be tackled:

  • Simplify install scripts.
  • Make the installation of the right version of python easier.
  • Make dependencies more isolated and also more programmable.
  • Less libpython, PYTHONPATH, LD_LIBRARY_PATH shenanigans as we could have a more reliable way to know where to find each dependencies.

This is tangential to the current vision of Rye, but would make life on planet Rust-Python a lot easier.

I can make contribute those change myself as part of rye or as a third-party lib, but just wanted to know first if that was something rye would be interested in.

haixuanTao avatar May 07 '23 04:05 haixuanTao

I think this would be interesting but it's not likely that I will be working on this.

mitsuhiko avatar Jan 21 '24 22:01 mitsuhiko