| 1 |
Metadata-Version: 2.1 |
| 2 |
Name: nodeenv |
| 3 |
Version: 1.9.1 |
| 4 |
Summary: Node.js virtual environment builder |
| 5 |
Home-page: https://github.com/ekalinin/nodeenv |
| 6 |
Author: Eugene Kalinin |
| 7 |
Author-email: [email protected] |
| 8 |
License: BSD |
| 9 |
Platform: any |
| 10 |
Classifier: Environment :: Web Environment |
| 11 |
Classifier: Intended Audience :: Developers |
| 12 |
Classifier: License :: OSI Approved :: BSD License |
| 13 |
Classifier: Programming Language :: Python |
| 14 |
Classifier: Programming Language :: Python :: 2 |
| 15 |
Classifier: Programming Language :: Python :: 2.7 |
| 16 |
Classifier: Programming Language :: Python :: 3 |
| 17 |
Classifier: Programming Language :: Python :: 3.7 |
| 18 |
Classifier: Programming Language :: Python :: 3.8 |
| 19 |
Classifier: Programming Language :: Python :: 3.9 |
| 20 |
Classifier: Programming Language :: Python :: 3.10 |
| 21 |
Classifier: Programming Language :: Python :: Implementation :: CPython |
| 22 |
Classifier: Programming Language :: Python :: Implementation :: PyPy |
| 23 |
Classifier: Topic :: Software Development :: Libraries :: Python Modules |
| 24 |
Requires-Python: >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.* |
| 25 |
License-File: LICENSE |
| 26 |
License-File: AUTHORS |
| 27 |
|
| 28 |
Node.js virtual environment |
| 29 |
=========================== |
| 30 |
|
| 31 |
``nodeenv`` (node.js virtual environment) is a tool to create |
| 32 |
isolated node.js environments. |
| 33 |
|
| 34 |
It creates an environment that has its own installation directories, |
| 35 |
that doesn't share libraries with other node.js virtual environments. |
| 36 |
|
| 37 |
Also the new environment can be integrated with the environment which was built |
| 38 |
by virtualenv_ (python). |
| 39 |
|
| 40 |
If you use nodeenv feel free to add your project on wiki: `Who-Uses-Nodeenv`_. |
| 41 |
|
| 42 |
.. _Who-Uses-Nodeenv: https://github.com/ekalinin/nodeenv/wiki/Who-Uses-Nodeenv |
| 43 |
|
| 44 |
.. image:: https://travis-ci.org/ekalinin/nodeenv.svg?branch=master |
| 45 |
:target: https://travis-ci.org/ekalinin/nodeenv |
| 46 |
|
| 47 |
.. contents:: :local: |
| 48 |
|
| 49 |
|
| 50 |
Install |
| 51 |
------- |
| 52 |
|
| 53 |
Global installation |
| 54 |
^^^^^^^^^^^^^^^^^^^ |
| 55 |
|
| 56 |
You can install nodeenv globally with `easy_install`_:: |
| 57 |
|
| 58 |
$ sudo easy_install nodeenv |
| 59 |
|
| 60 |
or with `pip`_:: |
| 61 |
|
| 62 |
$ sudo pip install nodeenv |
| 63 |
|
| 64 |
or on Debian using `dpkg`_:: |
| 65 |
|
| 66 |
$ ln -s debian-upstream debian |
| 67 |
$ dpkg-buildpackage -uc -us -b |
| 68 |
$ sudo dpkg -i $(ls -1rt ../nodeenv_*.deb | tail -n1) |
| 69 |
|
| 70 |
.. _dpkg: https://www.debian.org/doc/manuals/debian-faq/ch-pkgtools.en.html |
| 71 |
|
| 72 |
Local installation |
| 73 |
^^^^^^^^^^^^^^^^^^ |
| 74 |
|
| 75 |
If you're using virtualenv_ then you can install nodeenv via |
| 76 |
pip_/easy_install_ inside any virtual environment built with virtualenv:: |
| 77 |
|
| 78 |
$ virtualenv env |
| 79 |
$ . env/bin/activate |
| 80 |
(env) $ pip install nodeenv |
| 81 |
(env) $ nodeenv --version |
| 82 |
0.6.5 |
| 83 |
|
| 84 |
If you want to work with the latest version of the nodeenv you can |
| 85 |
install it from the github `repository`_:: |
| 86 |
|
| 87 |
$ git clone https://github.com/ekalinin/nodeenv.git |
| 88 |
$ ./nodeenv/nodeenv.py --help |
| 89 |
|
| 90 |
or with `pip`_:: |
| 91 |
|
| 92 |
$ pip install -e git+https://github.com/ekalinin/nodeenv.git#egg=nodeenv |
| 93 |
|
| 94 |
.. _repository: https://github.com/ekalinin/nodeenv |
| 95 |
.. _pip: http://pypi.python.org/pypi/pip |
| 96 |
.. _easy_install: http://pypi.python.org/pypi/setuptools |
| 97 |
|
| 98 |
|
| 99 |
Dependency |
| 100 |
---------- |
| 101 |
|
| 102 |
For nodeenv |
| 103 |
^^^^^^^^^^^ |
| 104 |
|
| 105 |
* python (2.6+, 3.5+, or pypy) |
| 106 |
* make |
| 107 |
* tail |
| 108 |
|
| 109 |
For node.js |
| 110 |
^^^^^^^^^^^ |
| 111 |
|
| 112 |
* libssl-dev |
| 113 |
|
| 114 |
Usage |
| 115 |
----- |
| 116 |
|
| 117 |
Basic |
| 118 |
^^^^^ |
| 119 |
|
| 120 |
Create new environment:: |
| 121 |
|
| 122 |
$ nodeenv env |
| 123 |
|
| 124 |
Activate new environment:: |
| 125 |
|
| 126 |
$ . env/bin/activate |
| 127 |
|
| 128 |
Check versions of main packages:: |
| 129 |
|
| 130 |
(env) $ node -v |
| 131 |
v0.10.26 |
| 132 |
|
| 133 |
(env) $ npm -v |
| 134 |
1.4.3 |
| 135 |
|
| 136 |
Deactivate environment:: |
| 137 |
|
| 138 |
(env) $ deactivate_node |
| 139 |
|
| 140 |
Advanced |
| 141 |
^^^^^^^^ |
| 142 |
|
| 143 |
Get available node.js versions:: |
| 144 |
|
| 145 |
$ nodeenv --list |
| 146 |
0.0.1 0.0.2 0.0.3 0.0.4 0.0.5 0.0.6 0.1.0 |
| 147 |
0.1.2 0.1.3 0.1.4 0.1.5 0.1.6 0.1.7 0.1.8 |
| 148 |
0.1.10 0.1.11 0.1.12 0.1.13 0.1.14 0.1.15 0.1.16 |
| 149 |
0.1.18 0.1.19 0.1.20 0.1.21 0.1.22 0.1.23 0.1.24 |
| 150 |
0.1.26 0.1.27 0.1.28 0.1.29 0.1.30 0.1.31 0.1.32 |
| 151 |
0.1.90 0.1.91 0.1.92 0.1.93 0.1.94 0.1.95 0.1.96 |
| 152 |
0.1.98 0.1.99 0.1.100 0.1.101 0.1.102 0.1.103 0.1.104 |
| 153 |
0.2.1 0.2.2 0.2.3 0.2.4 0.2.5 0.2.6 0.3.0 |
| 154 |
0.3.2 0.3.3 0.3.4 0.3.5 0.3.6 0.3.7 0.3.8 |
| 155 |
0.4.1 0.4.2 0.4.3 0.4.4 0.4.5 0.4.6 |
| 156 |
|
| 157 |
Install node.js "0.4.3" without ssl support with 4 parallel commands |
| 158 |
for compilation and npm.js "0.3.17":: |
| 159 |
|
| 160 |
$ nodeenv --without-ssl --node=0.4.3 --npm=0.3.17 --with-npm --jobs=4 env-4.3 |
| 161 |
|
| 162 |
Install node.js from the source:: |
| 163 |
|
| 164 |
$ nodeenv --node=0.10.25 --source env-0.10.25 |
| 165 |
|
| 166 |
Install node.js from a mirror:: |
| 167 |
|
| 168 |
$ nodeenv --node=10.19.0 --mirror=https://npm.taobao.org/mirrors/node |
| 169 |
|
| 170 |
It's much faster to install from the prebuilt package than Install & compile |
| 171 |
node.js from source:: |
| 172 |
|
| 173 |
$ time nodeenv --node=0.10.25 --prebuilt env-0.10.25-prebuilt |
| 174 |
+ Install node.js (0.10.25) ... done. |
| 175 |
|
| 176 |
real 0m6.928s |
| 177 |
user 0m0.408s |
| 178 |
sys 0m1.144s |
| 179 |
|
| 180 |
$ time nodeenv --node=0.10.25 --source env-0.10.25-src |
| 181 |
+ Install node.js (0.10.25) ... done. |
| 182 |
|
| 183 |
real 4m12.602s |
| 184 |
user 6m34.112s |
| 185 |
sys 0m30.524s |
| 186 |
|
| 187 |
Create a new environment with the system-wide node.js:: |
| 188 |
|
| 189 |
$ nodeenv --node=system |
| 190 |
|
| 191 |
Saving the versions of all installed packages to a file:: |
| 192 |
|
| 193 |
$ . env-4.3/bin/activate |
| 194 |
(env-4.3)$ npm install -g express |
| 195 |
(env-4.3)$ npm install -g jade |
| 196 |
(env-4.3)$ freeze ../prod-requirements.txt |
| 197 |
|
| 198 |
If you want to list locally installed packages use ``-l`` option:: |
| 199 |
|
| 200 |
(env-4.3)$ freeze -l ../prod-requirements.txt |
| 201 |
|
| 202 |
Create an environment from a requirements file:: |
| 203 |
|
| 204 |
$ nodeenv --requirements=../prod-requirements.txt --jobs=4 env-copy |
| 205 |
|
| 206 |
Requirements files are plain text files that contain a list of packages |
| 207 |
to be installed. These text files allow you to create repeatable installations. |
| 208 |
Requirements file example:: |
| 209 |
|
| 210 |
$ cat ../prod-requirements.txt |
| 211 |
[email protected] |
| 212 |
[email protected] |
| 213 |
[email protected] |
| 214 |
[email protected] |
| 215 |
[email protected] |
| 216 |
[email protected] |
| 217 |
|
| 218 |
If you already have the python virtualenv tool, and want to use nodeenv and |
| 219 |
virtualenv in conjunction, then you should create (or activate) the python |
| 220 |
virtual environment:: |
| 221 |
|
| 222 |
# in case of using virtualenv_wrapper |
| 223 |
$ mkvirtualenv my_env |
| 224 |
|
| 225 |
# in case of using virtualenv |
| 226 |
$ . my_env/bin/activate |
| 227 |
|
| 228 |
and add a node virtual environment to this existing new_venv:: |
| 229 |
|
| 230 |
$ nodeenv -p |
| 231 |
|
| 232 |
If you need to set the path to make used to build node:: |
| 233 |
|
| 234 |
$ nodeenv -m /usr/local/bin/gmake ENV |
| 235 |
|
| 236 |
That's all. Now, all your node.js modules will be installed into your virtual |
| 237 |
environment:: |
| 238 |
|
| 239 |
$ workon my_env |
| 240 |
$ npm install -g coffee-script |
| 241 |
$ command -v coffee |
| 242 |
/home/monty/virtualenvs/my_env/bin/coffee |
| 243 |
|
| 244 |
Creating a virtual environment with a custom prompt: |
| 245 |
|
| 246 |
$ nodeenv --node=12.18.2 --prompt="(myenv)" nodeenv |
| 247 |
|
| 248 |
If environment's directory already exists then you can use ``--force`` option:: |
| 249 |
|
| 250 |
$ nodeenv --requirements=requirements.txt --jobs=4 --force env |
| 251 |
|
| 252 |
If you already have an environment and want to update packages from requirements |
| 253 |
file you can use ``--update`` option:: |
| 254 |
|
| 255 |
$ . env-4.3/bin/activate |
| 256 |
(env-4.3)$ nodeenv --requirements=requirements.txt --update env-4.3 |
| 257 |
|
| 258 |
If you want to call node from environment without activation then you should |
| 259 |
use `shim` script:: |
| 260 |
|
| 261 |
$ ./env-4.3/bin/shim --version |
| 262 |
v0.4.3 |
| 263 |
|
| 264 |
Configuration |
| 265 |
------------- |
| 266 |
You can use the INI-style file ``~/.nodeenvrc`` to set default values for many options, |
| 267 |
the keys in that file are the long command-line option names. |
| 268 |
|
| 269 |
These are the available options and their defaults:: |
| 270 |
|
| 271 |
[nodeenv] |
| 272 |
node = 'latest' |
| 273 |
npm = 'latest' |
| 274 |
with_npm = False |
| 275 |
jobs = '2' |
| 276 |
without_ssl = False |
| 277 |
debug = False |
| 278 |
profile = False |
| 279 |
make = 'make' |
| 280 |
prebuilt = True |
| 281 |
ignore_ssl_certs = False |
| 282 |
mirror = None |
| 283 |
|
| 284 |
Alternatives |
| 285 |
------------ |
| 286 |
|
| 287 |
There are several alternatives that create isolated environments: |
| 288 |
|
| 289 |
* `nave <https://github.com/isaacs/nave>`_ - Virtual Environments for Node. |
| 290 |
Nave stores all environments in one directory ``~/.nave``. Can create |
| 291 |
per node version environments using `nave use envname versionname`. |
| 292 |
Can not pass additional arguments into configure (for example --without-ssl) |
| 293 |
Can't run on windows because it relies on bash. |
| 294 |
|
| 295 |
* `nvm <https://github.com/creationix/nvm/blob/master/nvm.sh>`_ - Node Version |
| 296 |
Manager. It is necessarily to do `nvm sync` for caching available node.js |
| 297 |
version. |
| 298 |
Can not pass additional arguments into configure (for example --without-ssl) |
| 299 |
|
| 300 |
* virtualenv_ - Virtual Python Environment builder. For python only. |
| 301 |
|
| 302 |
.. _`virtualenv`: https://github.com/pypa/virtualenv |
| 303 |
|
| 304 |
LICENSE |
| 305 |
======= |
| 306 |
|
| 307 |
BSD / `LICENSE <https://github.com/ekalinin/nodeenv/blob/master/LICENSE>`_ |
| 308 |
|
| 309 |
|
| 310 |
Nodeenv changelog |
| 311 |
================= |
| 312 |
|
| 313 |
Version 1.3.1 |
| 314 |
------------- |
| 315 |
- Windows related fix `#207 <https://github.com/ekalinin/nodeenv/pull/207>`_ |
| 316 |
- Fixed url for arm64 `#210 <https://github.com/ekalinin/nodeenv/pull/210>`_ |
| 317 |
- Fixed fish support `#212 <https://github.com/ekalinin/nodeenv/pull/212>`_ |
| 318 |
|
| 319 |
|
| 320 |
Version 1.3.0 |
| 321 |
------------- |
| 322 |
- Fixed symlink creation `#189 <https://github.com/ekalinin/nodeenv/issues/189>`_ |
| 323 |
- Python3.6 support `#200 <https://github.com/ekalinin/nodeenv/pull/200>`_ |
| 324 |
- Added `activate` for fish `#201 <https://github.com/ekalinin/nodeenv/pull/201>`_ |
| 325 |
- Fixed cp866 `#202 <https://github.com/ekalinin/nodeenv/pull/202>`_ |
| 326 |
- Added Conda support `#203 <https://github.com/ekalinin/nodeenv/pull/203>`_ |
| 327 |
|
| 328 |
|
| 329 |
Version 1.2.0 |
| 330 |
------------- |
| 331 |
- Support for Cygwin `#194 <https://github.com/ekalinin/nodeenv/pull/194>`_ `#195 |
| 332 |
<https://github.com/ekalinin/nodeenv/pull/195>`_ |
| 333 |
- tox.ini as default configuration file `#197 |
| 334 |
<https://github.com/ekalinin/nodeenv/pull/197>`_ |
| 335 |
|
| 336 |
Version 1.1.4 |
| 337 |
------------- |
| 338 |
- Fixed directory copy `#188 <https://github.com/ekalinin/nodeenv/issues/188>`_ |
| 339 |
|
| 340 |
Version 1.1.3 |
| 341 |
------------- |
| 342 |
- Fixed spaces in paths `#187 <https://github.com/ekalinin/nodeenv/issues/187>`_ |
| 343 |
|
| 344 |
Version 1.1.2 |
| 345 |
------------- |
| 346 |
- Fixed MANIFEST.in `#184 <https://github.com/ekalinin/nodeenv/issues/184>`_ |
| 347 |
|
| 348 |
Version 1.1.1 |
| 349 |
------------- |
| 350 |
- Improve Windows support. See `#181 |
| 351 |
<https://github.com/ekalinin/nodeenv/pull/181>`_ |
| 352 |
- Fix bug when downgrading using `--force`. See `#183 |
| 353 |
<https://github.com/ekalinin/nodeenv/pull/183>`_ |
| 354 |
- Environment creation fails with non-ASCII chars in path. See `#49 |
| 355 |
<https://github.com/ekalinin/nodeenv/issues/49>`_ |
| 356 |
|
| 357 |
Version 1.1.0 |
| 358 |
------------- |
| 359 |
- Windows support |
| 360 |
|
| 361 |
Version 1.0.0 |
| 362 |
------------- |
| 363 |
- `--prebuilt` is default. See `# 161`_ |
| 364 |
- Added `--source` option |
| 365 |
- Added support for the `ARM`. See `# 171`_ |
| 366 |
- Fixed issue with `$PATH`. See `# 86`_ |
| 367 |
|
| 368 |
.. _# 171: https://github.com/ekalinin/nodeenv/issues/171 |
| 369 |
.. _# 161: https://github.com/ekalinin/nodeenv/issues/161 |
| 370 |
.. _# 86: https://github.com/ekalinin/nodeenv/issues/86 |
| 371 |
|
| 372 |
Version 0.13.6 |
| 373 |
-------------- |
| 374 |
- Use https for nodejs.org. See `# 129`_ |
| 375 |
|
| 376 |
.. _# 129: https://github.com/ekalinin/nodeenv/issues/129 |
| 377 |
|
| 378 |
Version 0.13.5 |
| 379 |
-------------- |
| 380 |
- Improved user-agent identification |
| 381 |
|
| 382 |
Version 0.13.4 |
| 383 |
-------------- |
| 384 |
- Custom ``user-agent``. See `# 125`_, `# 127`_ |
| 385 |
|
| 386 |
.. _# 125: https://github.com/ekalinin/nodeenv/issues/125 |
| 387 |
.. _# 127: https://github.com/ekalinin/nodeenv/issues/127 |
| 388 |
|
| 389 |
|
| 390 |
Version 0.13.3 |
| 391 |
-------------- |
| 392 |
- Fixed env creation with non-ASCII chars in path. See `# 49`_ |
| 393 |
- Fixed logging with unicode chars. See `# 96`_ |
| 394 |
- Skip new lines at the end of requirements.txt. See `# 122`_ |
| 395 |
- Fixed UnicodeDecodeError at build on non UTF-8 environment. See `# 124`_ |
| 396 |
|
| 397 |
.. _# 49: https://github.com/ekalinin/nodeenv/issues/49 |
| 398 |
.. _# 96: https://github.com/ekalinin/nodeenv/issues/96 |
| 399 |
.. _# 122: https://github.com/ekalinin/nodeenv/issues/122 |
| 400 |
.. _# 124: https://github.com/ekalinin/nodeenv/pull/124 |
| 401 |
|
| 402 |
Version 0.13.2 |
| 403 |
-------------- |
| 404 |
- Fixed ``freeze`` command. See `# 121`_ |
| 405 |
|
| 406 |
.. _# 121: https://github.com/ekalinin/nodeenv/issues/121 |
| 407 |
|
| 408 |
Version 0.13.1 |
| 409 |
-------------- |
| 410 |
- Fixed bug: ``nodeenv --list is raising TypeError``. See `# 117`_, `# 118`_ |
| 411 |
|
| 412 |
.. _# 117: https://github.com/ekalinin/nodeenv/issues/117 |
| 413 |
.. _# 118: https://github.com/ekalinin/nodeenv/pull/118 |
| 414 |
|
| 415 |
Version 0.13.0 |
| 416 |
-------------- |
| 417 |
- Removed deps from ``sort``, ``egrep``, ``curl``, ``tar``. |
| 418 |
See `# 114`_, `# 116`_. |
| 419 |
|
| 420 |
.. _# 114: https://github.com/ekalinin/nodeenv/pull/114 |
| 421 |
.. _# 116: https://github.com/ekalinin/nodeenv/pull/116 |
| 422 |
|
| 423 |
Version 0.12.3 |
| 424 |
-------------- |
| 425 |
- Fixed check for installed curl/tar/etc for py3. |
| 426 |
|
| 427 |
Version 0.12.2 |
| 428 |
-------------- |
| 429 |
- Added check for installed curl/egrep/sort/tar. See `# 110`_, `# 61`_ |
| 430 |
|
| 431 |
.. _# 110: https://github.com/ekalinin/nodeenv/issues/110 |
| 432 |
.. _# 61: https://github.com/ekalinin/nodeenv/issues/61 |
| 433 |
|
| 434 |
Version 0.12.1 |
| 435 |
-------------- |
| 436 |
- Removed dep for lxml in favor of stdlib HTMLParser. See `# 109`_ |
| 437 |
- Added integration with travis-ci. See `# 109`_ |
| 438 |
- Added some tests. See `# 109`_ |
| 439 |
|
| 440 |
.. _# 109: https://github.com/ekalinin/nodeenv/pull/109 |
| 441 |
|
| 442 |
Version 0.12.0 |
| 443 |
-------------- |
| 444 |
- Added support for io.js (new option ``--iojs``) |
| 445 |
- Fixed ``get_last_stable_node_version`` for python3 |
| 446 |
|
| 447 |
Version 0.11.1 |
| 448 |
-------------- |
| 449 |
- Disallow prefix overridden by .npmrc. See `# 98`_, `# 100`_, `# 103`_ |
| 450 |
|
| 451 |
.. _# 98: https://github.com/ekalinin/nodeenv/issue/98 |
| 452 |
.. _# 100: https://github.com/ekalinin/nodeenv/pull/100 |
| 453 |
.. _# 103: https://github.com/ekalinin/nodeenv/pull/103 |
| 454 |
|
| 455 |
Version 0.11.0 |
| 456 |
-------------- |
| 457 |
- Improved dpkg rules. See `# 90`_ |
| 458 |
- Added --config-file option. See `# 91`_ |
| 459 |
- Read "./setup.cfg" in addition to "~/.nodeenvrc" by default. See `# 91`_ |
| 460 |
- Python3 compatibility. See `# 92`_, `# 93`_ |
| 461 |
|
| 462 |
.. _# 90: https://github.com/ekalinin/nodeenv/pull/90 |
| 463 |
.. _# 91: https://github.com/ekalinin/nodeenv/pull/91 |
| 464 |
.. _# 92: https://github.com/ekalinin/nodeenv/pull/92 |
| 465 |
.. _# 93: https://github.com/ekalinin/nodeenv/pull/93 |
| 466 |
|
| 467 |
Version 0.10.0 |
| 468 |
-------------- |
| 469 |
- Added support for config file. See `# 85`_ |
| 470 |
- Using of virtualenv detected via python not env variable. See `# 87`_ |
| 471 |
- Fixed ``freeze`` for zsh. See `# 88`_ |
| 472 |
- Added ``nodejs`` symlink creation. See `# 84`_ |
| 473 |
|
| 474 |
.. _# 85: https://github.com/ekalinin/nodeenv/pull/85 |
| 475 |
.. _# 87: https://github.com/ekalinin/nodeenv/pull/87 |
| 476 |
.. _# 88: https://github.com/ekalinin/nodeenv/pull/88 |
| 477 |
|
| 478 |
Version 0.9.6 |
| 479 |
------------- |
| 480 |
- Removed ``os.symlink`` added in `# 76`_. See `# 84`_ |
| 481 |
|
| 482 |
.. _# 84: https://github.com/ekalinin/nodeenv/issues/84 |
| 483 |
|
| 484 |
Version 0.9.5 |
| 485 |
------------- |
| 486 |
- Fixed a few spelling typos in README. See `# 74`_ |
| 487 |
- Fixed example of using --update option in README. See `# 74`_ |
| 488 |
- Improved args passing into shim script. See `# 75`_ |
| 489 |
- Try to find ``nodejs`` if used system-wide node as well. See `# 76`_ |
| 490 |
- Added ``assert`` if used system-wide node and it wasnt found. See `# 76`_ |
| 491 |
- Added ``-l`` option into ``freeze`` command. See `# 71`_ |
| 492 |
|
| 493 |
.. _# 71: https://github.com/ekalinin/nodeenv/issues/71 |
| 494 |
.. _# 74: https://github.com/ekalinin/nodeenv/issues/74 |
| 495 |
.. _# 75: https://github.com/ekalinin/nodeenv/pull/75 |
| 496 |
.. _# 76: https://github.com/ekalinin/nodeenv/pull/76 |
| 497 |
|
| 498 |
Version 0.9.4 |
| 499 |
------------- |
| 500 |
- Fixed support for python2.6. See `# 70`_ |
| 501 |
|
| 502 |
.. _# 70: https://github.com/ekalinin/nodeenv/issues/70 |
| 503 |
|
| 504 |
Version 0.9.3 |
| 505 |
------------- |
| 506 |
- Fixed npm when using prebuilt binaries on Mac OS X. See `# 68`_ |
| 507 |
- Fixed using ``system`` node under python3.4. See `# 43`_ |
| 508 |
- If used ``system`` node script ``bin/node`` always overwritten |
| 509 |
|
| 510 |
.. _# 68: https://github.com/ekalinin/nodeenv/issues/68 |
| 511 |
.. _# 43: https://github.com/ekalinin/nodeenv/issues/43 |
| 512 |
|
| 513 |
Version 0.9.2 |
| 514 |
------------- |
| 515 |
- Fixed infinite loop when system-wide node used. See `# 67`_ |
| 516 |
|
| 517 |
.. _# 67: https://github.com/ekalinin/nodeenv/issues/67 |
| 518 |
|
| 519 |
Version 0.9.1 |
| 520 |
------------- |
| 521 |
- Fixed 'shim' script if used system-wide node |
| 522 |
- Fixed shebang in the 'shim' |
| 523 |
- Added shim with name 'node' in case of using system-wide node |
| 524 |
|
| 525 |
Version 0.9.0 |
| 526 |
------------- |
| 527 |
- Added `shim` script. See `# 59`_ |
| 528 |
|
| 529 |
.. _# 59: https://github.com/ekalinin/nodeenv/issues/59 |
| 530 |
|
| 531 |
Version 0.8.2 |
| 532 |
------------- |
| 533 |
- Fixed prebuilt installation: |
| 534 |
- cp more choosy. See `# 64`_ |
| 535 |
- exclude top-level files in prebuilt tar. See `# 63`_ |
| 536 |
|
| 537 |
.. _# 63: https://github.com/ekalinin/nodeenv/issues/63 |
| 538 |
.. _# 64: https://github.com/ekalinin/nodeenv/issues/64 |
| 539 |
|
| 540 |
Version 0.8.1 |
| 541 |
------------- |
| 542 |
- Fixed system's node usage. See `# 62`_ |
| 543 |
|
| 544 |
.. _# 62: https://github.com/ekalinin/nodeenv/pull/62 |
| 545 |
|
| 546 |
Version 0.8.0 |
| 547 |
------------- |
| 548 |
- Added support for prebuilt packages. See `# 56`_ |
| 549 |
- Added support for python3. See `# 42`_ |
| 550 |
|
| 551 |
.. _# 56: https://github.com/ekalinin/nodeenv/issues/56 |
| 552 |
.. _# 42: https://github.com/ekalinin/nodeenv/issues/42 |
| 553 |
|
| 554 |
Version 0.7.3 |
| 555 |
------------- |
| 556 |
- Fixed npm.js redirect. See `# 52`_ |
| 557 |
- Added ``--update`` option. See `# 25`_ |
| 558 |
|
| 559 |
.. _# 52: https://github.com/ekalinin/nodeenv/pull/52 |
| 560 |
.. _# 25: https://github.com/ekalinin/nodeenv/issues/25 |
| 561 |
|
| 562 |
Version 0.7.2 |
| 563 |
------------- |
| 564 |
- Bug fixing in ``freeze``. See `# 47`_ |
| 565 |
|
| 566 |
.. _# 47: https://github.com/ekalinin/nodeenv/issues/47 |
| 567 |
|
| 568 |
Version 0.7.1 |
| 569 |
------------- |
| 570 |
- Added ``--make`` option |
| 571 |
|
| 572 |
Version 0.7.0 |
| 573 |
------------- |
| 574 |
- added ``--force``. See `# 37`_ |
| 575 |
- python3 support (first steps). See `# 38`_, `# 39`_ |
| 576 |
- escaping all directories used by subprocesses. See `# 40`_ |
| 577 |
- added an option to use system-wide node. See `# 41`_ |
| 578 |
|
| 579 |
.. _# 37: https://github.com/ekalinin/nodeenv/pull/37 |
| 580 |
.. _# 38: https://github.com/ekalinin/nodeenv/issues/38 |
| 581 |
.. _# 39: https://github.com/ekalinin/nodeenv/issues/39 |
| 582 |
.. _# 40: https://github.com/ekalinin/nodeenv/pull/40 |
| 583 |
.. _# 41: https://github.com/ekalinin/nodeenv/pull/41 |
| 584 |
|
| 585 |
|
| 586 |
Version 0.6.6 |
| 587 |
------------- |
| 588 |
- Fixed incomplete package names using freeze. See `# 35`_ |
| 589 |
- Fixed packages installation type in README. See `# 33`_ |
| 590 |
|
| 591 |
.. _# 33: https://github.com/ekalinin/nodeenv/issues/33 |
| 592 |
.. _# 35: https://github.com/ekalinin/nodeenv/pull/35 |
| 593 |
|
| 594 |
|
| 595 |
Version 0.6.5 |
| 596 |
------------- |
| 597 |
- Node's source not loaded if it already exists in FS. |
| 598 |
|
| 599 |
|
| 600 |
Version 0.6.4 |
| 601 |
------------- |
| 602 |
- Added python3 compatibility. See `# 32`_ |
| 603 |
|
| 604 |
.. _# 32: https://github.com/ekalinin/nodeenv/pull/32 |
| 605 |
|
| 606 |
|
| 607 |
Version 0.6.3 |
| 608 |
------------- |
| 609 |
- Fixed ``nodeenv -p``. See `issue # 31`_ |
| 610 |
|
| 611 |
.. _issue # 31: https://github.com/ekalinin/nodeenv/issues/31 |
| 612 |
|
| 613 |
|
| 614 |
Version 0.6.2 |
| 615 |
------------- |
| 616 |
- Skipped stand-alone npm installation by default. See `pull # 30`_ |
| 617 |
- ``--without-npm`` has been changed to ``--with-npm``. See `pull # 30`_ |
| 618 |
- Fixed options for running Make instances in parallel. See `pull # 30`_ |
| 619 |
|
| 620 |
.. _pull # 30: https://github.com/ekalinin/nodeenv/pull/30 |
| 621 |
|
| 622 |
|
| 623 |
Version 0.6.1 |
| 624 |
------------- |
| 625 |
- Used pkg_resources.parse_version to compare versions. See `pull # 29`_ |
| 626 |
- Fixed doubling prompt inside a virtualenv. See `issues # 26`_ |
| 627 |
|
| 628 |
.. _pull # 29: https://github.com/ekalinin/nodeenv/pull/29 |
| 629 |
.. _issues # 26: https://github.com/ekalinin/nodeenv/issues/26 |
| 630 |
|
| 631 |
|
| 632 |
Version 0.6.0 |
| 633 |
------------- |
| 634 |
- Fixed typo in deactive command. See `pull # 20`_ |
| 635 |
- Not used "--insecure" to download npm. See `pull # 21`_ |
| 636 |
- Removed "src" directory after installation. See `pull # 22`_ |
| 637 |
- Added option "--clean-src" |
| 638 |
- Added integration with python's virtualenv. See `pull # 23`_ |
| 639 |
|
| 640 |
.. _pull # 20: https://github.com/ekalinin/nodeenv/pull/20 |
| 641 |
.. _pull # 21: https://github.com/ekalinin/nodeenv/pull/21 |
| 642 |
.. _pull # 22: https://github.com/ekalinin/nodeenv/pull/22 |
| 643 |
.. _pull # 23: https://github.com/ekalinin/nodeenv/pull/23 |
| 644 |
|
| 645 |
Version 0.5.3 |
| 646 |
------------- |
| 647 |
- Bug fix. Used https, /dist/latest/. See `pull # 16`_ |
| 648 |
|
| 649 |
.. _pull # 16: https://github.com/ekalinin/nodeenv/pull/16 |
| 650 |
|
| 651 |
Version 0.5.2 |
| 652 |
------------- |
| 653 |
- Improved installation logic for release candidate versions. See `pull # 10`_ |
| 654 |
|
| 655 |
.. _pull # 10: https://github.com/ekalinin/nodeenv/pull/10 |
| 656 |
|
| 657 |
Version 0.5.1 |
| 658 |
------------- |
| 659 |
- Improved logic for the option '--without-npm'. See `issue # 14`_, `pull # 15`_ |
| 660 |
|
| 661 |
.. _issue # 14: https://github.com/ekalinin/nodeenv/issues/14 |
| 662 |
.. _pull # 15: https://github.com/ekalinin/nodeenv/pull/15 |
| 663 |
|
| 664 |
Version 0.5.0 |
| 665 |
------------- |
| 666 |
- The virtual environment's path is no longer hardcoded into the |
| 667 |
activation script. See `pull # 13`_ |
| 668 |
|
| 669 |
.. _pull # 13: https://github.com/ekalinin/nodeenv/pull/13 |
| 670 |
|
| 671 |
Version 0.4.3 |
| 672 |
------------- |
| 673 |
- Fixed metavar for ``--npm`` |
| 674 |
- ``npm install -g`` used for npm >=1.0, not noly for `latest` |
| 675 |
|
| 676 |
Version 0.4.2 |
| 677 |
------------- |
| 678 |
- Added README.ru.rst |
| 679 |
|
| 680 |
Version 0.4.1 |
| 681 |
------------- |
| 682 |
- Fixed bug in print_node_versions. See `pull # 11`_ |
| 683 |
- Added deps in README |
| 684 |
|
| 685 |
.. _pull # 11: https://github.com/ekalinin/nodeenv/pull/11 |
| 686 |
|
| 687 |
Version 0.4.0 |
| 688 |
------------- |
| 689 |
- Compatibility with virtualenv (renamed deactivate to deactivate_node). |
| 690 |
See `pull # 9`_, `issue # 6`_ |
| 691 |
|
| 692 |
.. _pull # 9: https://github.com/ekalinin/nodeenv/pull/9 |
| 693 |
.. _issue # 6: https://github.com/ekalinin/nodeenv/issues/6 |
| 694 |
|
| 695 |
Version 0.3.10 |
| 696 |
-------------- |
| 697 |
- Fixed bug in url detection for node.js download |
| 698 |
|
| 699 |
Version 0.3.9 |
| 700 |
------------- |
| 701 |
- Deleted notify method calls. See `pull # 7`_ |
| 702 |
- Updated tar url for node.js > 0.5.0. See `pull # 8`_ |
| 703 |
|
| 704 |
.. _pull # 7: https://github.com/ekalinin/nodeenv/pull/7 |
| 705 |
.. _pull # 8: https://github.com/ekalinin/nodeenv/pull/8 |
| 706 |
|
| 707 |
Version 0.3.8 |
| 708 |
------------- |
| 709 |
- Added `NODE_PATH` variable export (for correct module |
| 710 |
search after installation via npm) |
| 711 |
|
| 712 |
Version 0.3.7 |
| 713 |
------------- |
| 714 |
- Shows command output when error occurs |
| 715 |
- Excluded 'npm' from `freeze` list |
| 716 |
- Fixed bug with 'not only letter' names in `freeze` list |
| 717 |
- Added global installation for npm >= 1.0 (when install |
| 718 |
soft from requirement file) |
| 719 |
|
| 720 |
Version 0.3.6 |
| 721 |
------------- |
| 722 |
- Fixed ``freeze`` output command. See `request # 5`_ |
| 723 |
- Diagnostic message fixed. See `pull # 4`_ |
| 724 |
|
| 725 |
.. _request # 5 : https://github.com/ekalinin/nodeenv/issues/5 |
| 726 |
.. _pull # 4 : https://github.com/ekalinin/nodeenv/pull/4 |
| 727 |
|
| 728 |
Version 0.3.5 |
| 729 |
------------- |
| 730 |
- Added option ``--npm`` to install certain npm.js version. Request_ . |
| 731 |
- Fixed ``freeze`` command for npm >= 1.0.x. |
| 732 |
|
| 733 |
.. _Request: https://github.com/ekalinin/nodeenv/issues/3 |
| 734 |
|
| 735 |
Version 0.3.4 |
| 736 |
------------- |
| 737 |
|
| 738 |
- Fixed `problem #2`_ with new npm installation script. Added |
| 739 |
``--no-npm-clean`` option. The default to the npm 0.x cleanup. |
| 740 |
|
| 741 |
.. _problem #2: https://github.com/ekalinin/nodeenv/issues/2 |
| 742 |
|
| 743 |
Version 0.3.3 |
| 744 |
------------- |
| 745 |
|
| 746 |
- Fixed `problem #1`_ with installation from PyPI via easy_install. |
| 747 |
Added ``MANIFEST.in`` file. |
| 748 |
|
| 749 |
.. _problem #1: https://github.com/ekalinin/nodeenv/issues/1 |
| 750 |
|
| 751 |
Version 0.3.2 |
| 752 |
------------- |
| 753 |
|
| 754 |
- Internal improvements |
| 755 |
- Logging refactoring |
| 756 |
|
| 757 |
Version 0.3.1 |
| 758 |
------------- |
| 759 |
|
| 760 |
- Default environment promt is folder name |
| 761 |
|
| 762 |
Version 0.3.0 |
| 763 |
-------------- |
| 764 |
|
| 765 |
- Renamed nve to nodeenv |