Commits

Michal Dvorak committed ff11bde

Fixed handling of whitespaces

Comments (0)

Files changed (2)

     packages=find_packages(),
     zip_safe=True,
     classifiers=[
-        'Development Status :: 2 - Pre-Alpha',
+        'Development Status :: 3 - Alpha',
         'Intended Audience :: Developers',
         'Operating System :: OS Independent',
         'Programming Language :: Python',
+        'Programming Language :: Python :: 2.7',
     ],
 )

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')