Source

setup-recipe / setup_recipe / __init__.py

Diff from to

setup_recipe/__init__.py

 
         self.develop = []
         for dir in re.split(r'\s+', self.options['develop']):
-            self.develop.append(os.path.abspath(dir))
+            if len(dir):
+                self.develop.append(os.path.abspath(dir))
 
     def install(self):
         # Read settings
         # Loop that runs setup.py
         f.write('for dir in DEVELOP:\n')
         f.write('  print "Processing " + dir\n')
-        f.write('  r = call([INTERPRETER, os.path.join(dir, "setup.py")] + CMD + ARGS, cwd=dir) if len(dir) else 0\n')
+        f.write('  r = call([INTERPRETER, os.path.join(dir, "setup.py")] + CMD + ARGS, cwd=dir)\n')
         f.write('  if r != 0:\n')
         f.write('    sys.exit(r)\n\n')