Skip to content

Commit

Permalink
0.9.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ekalinin committed May 28, 2014
1 parent a70ca53 commit 5e59ba1
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Nodeenv changelog
=================

Version 0.9.4
-------------
- Fixed support for python2.6. See `# 70`_

.. _# 70: https://github.com/ekalinin/nodeenv/issues/70

Version 0.9.3
-------------
- Fixed npm when using prebuilt binaries on Mac OS X. See `# 68`_
Expand Down
3 changes: 2 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ Dependency
For nodeenv
^^^^^^^^^^^

* python (>= 2.6)
* make
* curl
* egrep
Expand Down Expand Up @@ -117,7 +118,7 @@ Install node.js from prebuilt package::

$ nodeenv --node=0.10.25 --prebuilt env-0.10.25-prebuilt

It mach faster then install & compile node.js from source::
It much faster then install & compile node.js from source::

$ time nodeenv --node=0.10.25 --prebuilt env-0.10.25-prebuilt
+ Install node.js (0.10.25) ... done.
Expand Down
5 changes: 3 additions & 2 deletions nodeenv.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
:license: BSD, see LICENSE for more details.
"""

nodeenv_version = '0.9.3'
nodeenv_version = '0.9.4'

import sys
import os
Expand All @@ -34,6 +34,7 @@
# ---------------------------------------------------------
# Utils


def clear_output(out):
"""
Remove new-lines and
Expand Down Expand Up @@ -557,7 +558,7 @@ def install_activate(env_dir, opt):
# we should get `bin/node` not as binary+string.
# `bin/activate` should be appended if we inside
# existing python's virtual environment
need_append = False if name in ('node', 'shim') else opt.python_virtualenv
need_append = 0 if name in ('node', 'shim') else opt.python_virtualenv
writefile(file_path, content, append=need_append)
os.chmod(file_path, mode_0755)

Expand Down

0 comments on commit 5e59ba1

Please sign in to comment.