This message was deleted.
# ask-for-help
s
This message was deleted.
j
For your pip packages? Absolutely...same format you'd use for a requirements.txt file. You can also use a requirements.txt file like this:
Copy code
requirements_txt: "./requirements.txt"
s
Oh nice - I didn’t know that. So that would just replace
packages
field?
j
exactly, as a child of the
python
field
s
OK great - and what is that path relative to?
Where build is executed?
j
should be relative to the bentofile.yaml
s
Oh ok got it thanks
j
I think LOL
s
OK I’ll give it a shot
Thanks!!
j
sure thing!
s
Oh sorry one more quick thing
What if requirements.txt include bentoml itself?
Would it cause problems?
j
that'd be fine, but you don't need it. Bento will always install the same version in the container that you're using to build the bento
s
Right - just wanted to make sure
j
but it shouldn't hurt anything as long as they're the same version
s
OK great thank you!
j
no problemo 🙂
s
@Jim Rohrer Just an FYI - I tested it, and the relative path is based on where the bentoml cli command is executed in - not from
bentofile.yaml
and also not from
BENTOML_HOME
env var
j
ah good to know, thanks 🙂
I have my bentofile in the root of my repo, so I wasn't positive