comparison paint/package.py @ 17:e74fc40e1f64

interpolate string
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 24 Feb 2012 16:05:07 -0800
parents e6cdc58fc4f5
children 4c4d1e194bf7
comparison
equal deleted inserted replaced
16:e6cdc58fc4f5 17:e74fc40e1f64
85 return self._egg_info 85 return self._egg_info
86 86
87 directory = self.path() 87 directory = self.path()
88 setup_py = os.path.join(directory, 'setup.py') 88 setup_py = os.path.join(directory, 'setup.py')
89 if not os.path.exists(setup_py): 89 if not os.path.exists(setup_py):
90 raise AssertionError("%s does not exist") 90 raise AssertionError("%s does not exist" % setup_py)
91 91
92 # setup the egg info 92 # setup the egg info
93 call([sys.executable, 'setup.py', 'egg_info'], cwd=directory, stdout=PIPE) 93 call([sys.executable, 'setup.py', 'egg_info'], cwd=directory, stdout=PIPE)
94 94
95 # get the .egg-info directory 95 # get the .egg-info directory