caktus / django-project-template

Django project template for startproject (Requires 2.2+)
209 stars 53 forks source link

Add setting to allow node-gyp dependencies to work around Python 3 #240

Open ironfroggy opened 8 years ago

ironfroggy commented 8 years ago

Some NPM packages depend on node-gyp and the gyp build tool, which requires Python 2. If a Python 3 virtualenv is active, this can break. The following .npmrc can fix this:

python=python2.7