Skip to content
This repository has been archived by the owner on Nov 16, 2022. It is now read-only.

Commit

Permalink
Switch to pure python pyScss from libsass (no need in C++ on Windows)
Browse files Browse the repository at this point in the history
Add pyScss dependencies to vendor/
  • Loading branch information
techtonik committed Apr 18, 2017
1 parent 1f87f51 commit 23c0c6e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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 .
Binary file added vendor/enum34-1.1.6-py2-none-any.whl
Binary file not shown.
Binary file removed vendor/libsass-0.3.0.tar.gz
Binary file not shown.
Binary file added vendor/pathlib-1.0.1.tar.gz
Binary file not shown.
Binary file added vendor/pyScss-1.3.5.tar.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions www/assets/%version/inside.gratipay.css.spt
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 23c0c6e

Please sign in to comment.