[Answered ]-How to package custom lessc into django project? (using django-pipeline)

2👍

You can try something like this, and adapt it to your directory structure :

import os
local_path = lambda path: os.path.join(os.path.dirname(__file__), path)

PIPELINE_LESS_BINARY = local_path('bin/lessc')

local_path return the path of a file relatively to the settings.py file path.

Leave a comment