def _expand_dist_script(self, template): return template.format( version=self._config.version, osname=osname(), arch=arch(), path=filename_escape(self._config.name), dist=self._config.dist_path, )
def test_architecture(self): self.assertIn(arch(), [ 'x86_64', 'i386', 'i586', 'i686' ])