Commits

lakin.wecker committed 4578c32

supporting packages with a 'src' directory such as whoosh

Comments (0)

Files changed (1)

baste/__init__.py

             dir = base_dir
         elif os.path.exists(os.path.join(base_dir, package, "__init__.py")):
             dir = os.path.join(base_dir, package)
+        elif os.path.exists(os.path.join(base_dir, 'src', package, "__init__.py")):
+            dir = os.path.join(base_dir, 'src', package)
 
     symlink = "env/lib/%s/%s" % (python_version, package)
     symlink = project_relative(symlink)