Colin Copeland avatar Colin Copeland committed 62ddccc

add SCM packages, postgresql-server-dev-8.4, python-dev, distribute, virtualenv

Comments (0)

Files changed (1)

mallet/client_vm.py

 logger = logging.getLogger('mallet.client_vm')
 
 
+class SCM(PackageGroup):
+    packages = ['subversion', 'git-core', 'mercurial']
+
+
 class BuildEssential(PackageGroup):
     packages = ['build-essential']
 
 
 
 class Postgres(lenny.Postgres):
+    packages = ['postgresql', 'postgresql-server-dev-8.4']
 
     def post_install(self, node_wrapper):
         call(['local-gen', 'en_US.UTF-8'])
         call(['pg_createcluster', '--start', '-e', 'UTF-8', '8.4', 'main'])
 
 
+class Python(PackageGroup):
+    packages = ['ipython', 'python-setuptools', 'python-dev']
+
+    def post_install(self, node_wrapper):
+        call(['easy_install', '-U', 'pip'])
+        call(['pip', 'install', '-U', 'distribute'])
+        call(['pip', 'install', '-U', 'virtualenv'])
+
+
 class NodeWrapper(mallet.NodeWrapper):
 
     def hostname(self):
     packages = [
         lenny.Apache,
         Postgres,
-        lenny.Python,
+        Python,
         lenny.Memcache,
         BuildEssential,
         SSH,
+        SCM,
     ]
     node_wrapper = NodeWrapper
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.