Hi! Apologies for a newbie question but how do you...
# ask-metaflow
s
Hi! Apologies for a newbie question but how do you add a local package inside the @conda decorator?
āœ… 1
v
that's a great question! We should document it better
with local packages, you have a few options, starting from the easiest approaches: • All packages in the same working directory as your flow script are packaged automatically - no need to use
@conda
or anything • You can have your own packages elsewhere in the directory hierarchy too by using symlinks as shown here • If your custom package lives in another repo, you can consider including it in your directory structure by using something like
git subtree
you can also include packages from private Conda channels, if you happen to have a private Conda package. Later this spring we are planning to support
pip
packages too - private and public alike
let me know if any of these ideas work
s
thanks @victorious-lawyer-58417 will check it out!
hi again! tried with symlink and it works šŸ™‚ thanks!
šŸ‘ 1