We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5054ae7 commit 8a62778Copy full SHA for 8a62778
common_setup.py
@@ -38,7 +38,8 @@ class EggInfo(EggInfoCommand):
38
def run(self):
39
if self.distribution.extras_require is None:
40
self.distribution.extras_require = {}
41
- self.distribution.extras_require['tests'] = self.distribution.tests_require
+ if 'tests' not in self.distribution.extras_require and hasattr(self.distribution, 'tests_require'):
42
+ self.distribution.extras_require['tests'] = self.distribution.tests_require
43
EggInfoCommand.run(self)
44
45
0 commit comments