Mercurial > touhou
changeset 226:5c5913b889bc
Fix setup.py...
author | Thibaut Girka <thib@sitedethib.com> |
---|---|
date | Mon, 19 Dec 2011 22:18:11 +0100 |
parents | 2d35565b5608 |
children | 31460b2ec530 |
files | setup.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/setup.py +++ b/setup.py @@ -20,6 +20,7 @@ except ImportError: # The installed script shouldn't call pyximport, strip references to it class BuildScripts(build_scripts): def copy_scripts(self): + self.mkpath('scripts') for script in (os.path.basename(script) for script in self.scripts): outfile = os.path.join('scripts', script) if not self.force and not newer(script, outfile): @@ -30,7 +31,7 @@ class BuildScripts(build_scripts): if not 'pyximport' in line: out.write(line) - orig_build_scripts.copy_scripts(self) + build_scripts.copy_scripts(self) packages = []