Skip to content

Commit a0739c9

Browse files
committed
Drop NodeJS dependency in favor of pure-python lesscpy
While less.js from lesscss.org is still the most standard-compliant (err defining) LESS implementation, a pure-python one will drasticly simplify deployments. Since lesscpy doesn't support {outfile} just write to stdout, django_compressor will happily take that (See http://django-compressor.readthedocs.org/en/master/settings/#django.conf.settings.COMPRESS_PRECOMPILERS) Drop dependency documentation, there are no external (non-Python) tools left to setup. Meanwhile, lesscpy(>=0.9j) supports SVG stylesheets. Change-Id: I89ed102f7be4b554a28b001c9c0d40dab4a51ae6
1 parent 1a6140f commit a0739c9

38 files changed

+2
-4119
lines changed

MANIFEST.in

-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
recursive-include bin *.js
21
recursive-include doc *.py *.rst *.css *.js *.html *.conf *.jpg *.gif *.png *.css_t
32
recursive-include horizon *.html *.css *.js *.csv *.template *.tmpl *.mo *.po
43
recursive-include openstack_dashboard *.html *.js *.less *.mo *.po *.example *.eot *.svg *.ttf *.woff *.png *.ico *.wsgi *.gif *.csv *.template
@@ -12,7 +11,6 @@ include manage.py
1211
include README.rst
1312
include run_tests.sh
1413
include tox.ini
15-
include bin/less/lessc
1614
include doc/Makefile
1715
include doc/source/_templates/.placeholder
1816
include requirements.txt

README.rst

-15
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,6 @@ For issue tracking:
2020

2121
* https://bugs.launchpad.net/horizon
2222

23-
Dependencies
24-
============
25-
26-
To get started you will need to install Node.js (http://nodejs.org/) on your
27-
machine. Node.js is used with Horizon in order to use LESS
28-
(http://lesscss.org/) for our CSS needs. Horizon is currently using Node.js
29-
v0.6.12.
30-
31-
For Ubuntu use apt to install Node.js::
32-
33-
$ sudo apt-get install nodejs
34-
35-
For other versions of Linux, please see here:: http://nodejs.org/#download for
36-
how to install Node.js on your system.
37-
3823

3924
Getting Started
4025
===============

bin/less/lessc

-139
This file was deleted.

0 commit comments

Comments
 (0)