5

Is there a way to specify optional dependencies when using python setup.py develop?

For example, say I have this package:

pip install openwisp-utils[users]

How can I install openwisp-utils for development by telling setuptools to install the optional dependencies listed in extra_requires['users']?

Martin Thoma
  • 124,992
  • 159
  • 614
  • 958
nemesisdesign
  • 8,159
  • 12
  • 58
  • 97

1 Answers1

4

I found an alternative to python setup.py develop (which unfortunately doesn't seem to support extra_requires):

pip install -e .[users]
Al Sweigart
  • 11,566
  • 10
  • 64
  • 92
nemesisdesign
  • 8,159
  • 12
  • 58
  • 97