diff --git a/core/mk/cmake.mk b/core/mk/cmake.mk
index 32d2ec17..fa15aa46 100644
--- a/core/mk/cmake.mk
+++ b/core/mk/cmake.mk
@@ -49,6 +49,7 @@ eclipse-project:
mv .project .project-cmake
awk -f $(shell rospack find mk)/eclipse.awk .project-cmake > .project
rm .project-cmake
+ python $(shell rospack find mk)/make_pydev_project.py
include $(shell rospack find mk)/buildtest.mk
diff --git a/core/mk/make_pydev_project.py b/core/mk/make_pydev_project.py
new file mode 100644
index 00000000..8ac5fc88
--- /dev/null
+++ b/core/mk/make_pydev_project.py
@@ -0,0 +1,26 @@
+#!/usr/bin/python
+
+import sys
+import os
+PKG = os.path.split(os.getcwd())[1]
+print "Creating pydev project for package '%s'"%PKG
+import roslib; roslib.load_manifest(PKG)
+
+pathlist = "\n".join(["%s"%path for path in sys.path if os.path.exists(path)])
+
+pydev_project= '''
+
+
+
+Default
+python 2.6
+
+%s
+
+
+'''%pathlist
+
+print "Writing .pydevproject, adding %d modules"%len(sys.path)
+f = open(".pydevproject","w")
+f.write(pydev_project)
+f.close()