What do square brackets mean in pip install?

后端 未结 4 1235
甜味超标
甜味超标 2020-12-01 04:23

I see more and more commands like this:

$ pip install \"splinter[django]\"

What do these square brackets do?

4条回答
  •  鱼传尺愫
    2020-12-01 04:32

    This is exactly the list from the setup.py file for the project in question:

    "django": ["Django>=1.7.11;python_version<'3.0'", "Django>=2.0.6;python_version>'3.3'", "lxml>=2.3.6", "cssselect", "six"],
    

提交回复
热议问题