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
-
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
.zip
or.tar
) of the dependencies on the target platform (e.g. Linux) for deployment. I do not want to runpoetry install
orpip install
on the server since this slows start-up and can introduce flakiness.One approach I came up with is to copy the
pyproject.toml
andpoetry.lock
into a Docker container, runpoetry install
and 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