Install node.js into your virtualenv
Project description
Continuous integration status:
This package is a wrapper around the node.js sources and provides a convenient way to install it directly into your virtualenv instead of globally. I created this package to play around with a simple installation for Django projects that use django-compressor’s precompiler to generate CSS from less files.
The install routine used in setup.py is adapted from the nodeenv package provided by Eugene Kalinin. The difference is that I want to install node.js into an existing virtualenv instead of creating a specific environment for node.
I am using this in combination with virtual-less which installs the lessc commandline tool into a virtual environment.
Installation
Installing the node into your virtual environment is as easy as:
$ pip install virtual-node
That should be it. You should now be able to run node from within your virtual environment even if you have it globally installed. You can make sure that this is the case:
$ which node /home/elbaschid/.virtualenvs/lessc-test/bin/node
Issues & Contributions
Please let me know if you have any issues, please raise an issue here on the github project.
If you want to contribute, fork this repository and open a pull request with your changes. I’d be happy to include them.
License
This package is released under the permissive New BSD license.
Changelog
0.0.2
Adds check for existing version of virtual-node
Fix issues when used as dependency in setup.py
Switch from using install to build command
0.0.1
Initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for virtual-node-0.0.2-0.8.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b4762ebdd1f0c6e21c5ee267040cb4cf9a52c13ad9be08f07bc8368da0aebde |
|
MD5 | faa6136b0bd1ce5929cbe92a8db134bc |
|
BLAKE2b-256 | 8341f3fe6e109e32a84dd963289abbe9bdaeeb97b4dfdd3fd58234bdddc2892f |