![](https://secure.gravatar.com/avatar/a25cbaf112aa0b2c2f772f3855930332.jpg?s=120&d=mm&r=g)
Aug. 21, 2018
9:59 a.m.
Hello, I'd like to run different external programs during the install command which are provided by (potentially) installed extras, but I cannot find where the currently selected extras are stored. The only thing I quickly found by going through the distutils and setuptools codebases is an old TODO from easy_install indicating it might not have been implemented yet: https://github.com/pypa/setuptools/blob/afba2d89c4436451ad4d7e19228584246a9a... I can hack this by try excepting on ImportError, but is there a more elegant (and intended) way? -- Joni Orponen