baml icon indicating copy to clipboard operation
baml copied to clipboard

Pipenv support

Open smravec opened this issue 1 year ago • 3 comments

Added Pipenv support to the init script. New to rust so better double check it if it does not break anything

smravec avatar Mar 27 '24 09:03 smravec

Thanks for the PR, we'll merge this in soon. Have you been able to get BAML up and running?

aaronvg avatar Mar 27 '24 15:03 aaronvg

Added the unit test just now

smravec avatar Mar 29 '24 20:03 smravec

I was waiting for the ollama support, will try to set it up now

smravec avatar Mar 29 '24 20:03 smravec

Hi @smravec we actually removed any need on python environments as of this point!

it now works in any python env via:

> pip install baml-py
> baml-cli init
> baml-cli generate

baml-cli is now bundled in with baml-py and there's no longer a dependency on our CLI which makes the installation process so much easier for users (we hope).

your PR for adding pyenv and the struggle we had with merging it in was actually a key reason why we went down this path. Glad to share more thoughts if you'd like!

hellovai avatar Jun 14 '24 00:06 hellovai