1

my Pipfile looks like

[[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"


[packages]
Django = "*"
gunicorn = "*"
"psycopg2" = "*"


[requires]
# our Dockerfile is based on Python 3.7
python_version = "3.7"

it's working well but I have a question concerning the double quotes around "psycopg2" that are not present for Django on gunicorn.

Why are they here ?

Thanks for the answer.

Wai Ha Lee
  • 8,598
  • 83
  • 57
  • 92
Dotty
  • 48
  • 6

2 Answers2

3

If this file was generated with:

pipenv

Any keys with numbers are quoted. It doesn't make a functional difference you can remove the quotes if you want to be consistent.

2

Any packages that have numbers in them get put in double-quotes.

Russ Brown
  • 171
  • 6