Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Remove `src` directory after installation of node.js #22

Merged
merged 1 commit into from over 1 year ago

2 participants

Vincent Bernat Eugene Kalinin
Vincent Bernat

This directory takes a lot of disk space and is not useful for most
users. This fixes #19.

Vincent Bernat Remove `src` directory after installation of node.js
This directory takes a lot of disk space and is not useful for most
users. This fixes #19.
ec4974e
Eugene Kalinin ekalinin merged commit aaa9e7c into from September 25, 2012
Eugene Kalinin ekalinin closed this September 25, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Sep 02, 2012
Vincent Bernat Remove `src` directory after installation of node.js
This directory takes a lot of disk space and is not useful for most
users. This fixes #19.
ec4974e
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. 2  nodeenv.py
2  nodeenv.py
@@ -402,6 +402,8 @@ def create_environment(env_dir, opt):
402 402
         install_npm(env_dir, src_dir, opt)
403 403
     if opt.requirements:
404 404
         install_packages(env_dir, opt)
  405
+    # Cleanup
  406
+    callit(['rm -rf', src_dir], opt.verbose, True, env_dir)
405 407
 
406 408
 
407 409
 def print_node_versions():
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.