diff --git a/requirements.txt b/requirements.txt index 8736790..74bf8dd 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,6 +2,7 @@ algorithm==1.0.0 dependency_injection==1.1.0 filesystem_tree==1.0.1 + first=2.0.1 python-mimeparse==0.1.4 aspen==0.42 @@ -16,7 +17,8 @@ mistune_contrib==0.1 honcho==0.5.0 - six==1.10.0 -libsass==0.3.0 + enum34==1.1.6 + pathlib==1.0.1 +pyScss==1.3.5 --editable . diff --git a/vendor/enum34-1.1.6-py2-none-any.whl b/vendor/enum34-1.1.6-py2-none-any.whl new file mode 100644 index 0000000..12be7c7 Binary files /dev/null and b/vendor/enum34-1.1.6-py2-none-any.whl differ diff --git a/vendor/libsass-0.3.0.tar.gz b/vendor/libsass-0.3.0.tar.gz deleted file mode 100644 index e8601ea..0000000 Binary files a/vendor/libsass-0.3.0.tar.gz and /dev/null differ diff --git a/vendor/pathlib-1.0.1.tar.gz b/vendor/pathlib-1.0.1.tar.gz new file mode 100644 index 0000000..9e9121a Binary files /dev/null and b/vendor/pathlib-1.0.1.tar.gz differ diff --git a/vendor/pyScss-1.3.5.tar.gz b/vendor/pyScss-1.3.5.tar.gz new file mode 100644 index 0000000..91080c0 Binary files /dev/null and b/vendor/pyScss-1.3.5.tar.gz differ diff --git a/www/assets/%version/inside.gratipay.css.spt b/www/assets/%version/inside.gratipay.css.spt index a1287eb..82deb49 100644 --- a/www/assets/%version/inside.gratipay.css.spt +++ b/www/assets/%version/inside.gratipay.css.spt @@ -1,11 +1,11 @@ import os -import sass +import scss filename = os.path.join(website.project_root, 'scss', 'inside.gratipay.scss') output_style = 'compressed' if website.compress_assets else 'nested' cache = os.environ.get('INSIDE_GRATIPAY_CACHE_CSS', '') [---] -css = sass.compile(output_style=str(output_style),filename=str(filename)) +css = scss.compiler.compile_file(filename, output_style=output_style) if cache: response.headers['Expires'] = 'Sun, 17 Jan 2038 19:14:07 GMT' [---] via jinja2