Replies: 1 comment 1 reply
-
Poetry add -D psycopg2-binary |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, we are using
psycopg2-binary
for local development installed viarequirements-dev.txt
andpsycopg2
installed on the server after deployment.From what I understand, I should be able to achieve this with poetry as well however I'm not sure how to configure and run it.
Can some please share an example?
I found the test for this so I reckon it should be possible.
poetry/tests/repositories/test_pypi_repository.py
Line 154 in b753aaf
I'd like to be able to install
psycopg2-binary
in my dev env andpsycopg2
for deployment.Thank you!
Beta Was this translation helpful? Give feedback.
All reactions