mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-15 14:03:02 +00:00
@@ -5,7 +5,7 @@ python:
|
||||
- 3.4
|
||||
- 3.3
|
||||
before_install:
|
||||
- npm install -g less bower jupyter/configurable-http-proxy
|
||||
- npm install -g less less-plugin-clean-css bower jupyter/configurable-http-proxy
|
||||
- git clone --quiet --depth 1 https://github.com/minrk/travis-wheels travis-wheels
|
||||
install:
|
||||
- pip install -f travis-wheels/wheelhouse -r dev-requirements.txt .
|
||||
|
4
setup.py
4
setup.py
@@ -158,7 +158,7 @@ class CSS(BaseCommand):
|
||||
sourcemap = style_css + '.map'
|
||||
try:
|
||||
check_call([
|
||||
'lessc', '-x', '--verbose',
|
||||
'lessc', '--clean-css', '--verbose',
|
||||
'--source-map-basepath={}'.format(static),
|
||||
'--source-map={}'.format(sourcemap),
|
||||
'--source-map-rootpath=../',
|
||||
@@ -166,7 +166,7 @@ class CSS(BaseCommand):
|
||||
])
|
||||
except OSError as e:
|
||||
print("Failed to run lessc: %s" % e, file=sys.stderr)
|
||||
print("You can install less with `npm install -g less`", file=sys.stderr)
|
||||
print("You can install less with `npm install -g less less-plugin-clean-css`", file=sys.stderr)
|
||||
raise
|
||||
# update data-files in case this created new files
|
||||
self.distribution.data_files = get_data_files()
|
||||
|
Reference in New Issue
Block a user