def setup_method(self, method): self.nc = NameConvertor('fedora') self.e = [] for archive, name, version in [ ('setuptools-19.6-py2.py3-none-any.whl', 'setuptools', '19.6.2'), ('py2exe-0.9.2.2-py33.py34-none-any.whl', 'py2exe', '0.9.2.2')]: self.e.append(me.WheelMetadataExtractor('{0}{1}'.format( self.td_dir, archive), name, self.nc, version, venv=False))
def setup_method(self, method): self.nc = NameConvertor('fedora') self.e = (me.WheelMetadataExtractor('{0}setuptools-19.6-py2.py3-none-any.whl'.format( self.td_dir), 'setuptools', self.nc, '19.6.2'))