Replies: 1 comment
-
|
I'm in a similar boat (developing on Windows, targeting Linux). I also took the same approach of using a Docker container to create package distributions for Linux, which works but is not ideal. Would love to know if anyone has managed to use Poetry for cross-platform builds without needing a platform-specific build environment like Docker. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My use-case is that I am developing across platforms (e.g. macOS development machine for Linux server). I want to create a folder (or
.zipor.tar) of the dependencies on the target platform (e.g. Linux) for deployment. I do not want to runpoetry installorpip installon the server since this slows start-up and can introduce flakiness.One approach I came up with is to copy the
pyproject.tomlandpoetry.lockinto a Docker container, runpoetry installand then copy the output files.However, I was wondering if this is something Poetry can do natively, and ideally without the overhead of Docker?
Beta Was this translation helpful? Give feedback.
All reactions