{ "info": { "author": "Andrey Fedoseev", "author_email": "andrey.fedoseev@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP" ], "description": "**THIS PACKAGE IS NOT MAINTAINED.**\r\n\r\nPlease use `django-static-precompiler `_\r\n\r\n\r\nDjango SCSS\r\n===================\r\n\r\nDjango SCSS provides template tags to compile SCSS into CSS from templates.\r\nIt works with both inline code and extenal files.\r\n\r\nInstallation\r\n************\r\n\r\n1. Add \"django_scss\" to INSTALLED_APPS setting.\r\n2. Make sure that you have sass executable installed. See SASS official site for details.\r\n3. Optionally, you can specify the full path to sass executable with SCSS_EXECUTABLE setting. By default it's set to sass.\r\n4. In case you use Django\u2019s staticfiles contrib app you have to add django-scss\u2019s file finder to the ``STATICFILES_FINDERS`` setting, for example :\r\n\r\n::\r\n\r\n STATICFILES_FINDERS = (\r\n 'django.contrib.staticfiles.finders.FileSystemFinder',\r\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder',\r\n # other finders..\r\n 'django_scss.finders.SCSSFinder',\r\n )\r\n\r\n\r\nExample Usage\r\n*************\r\n\r\nInline\r\n------\r\n\r\n::\r\n\r\n {% load scss %}\r\n\r\n \r\n\r\nrenders to\r\n\r\n::\r\n\r\n \r\n\r\n\r\nExternal file\r\n-------------\r\n\r\n::\r\n\r\n {% load scss %}\r\n\r\n \r\n\r\nrenders to\r\n\r\n::\r\n\r\n \r\n\r\nNote that by default compiled files are saved into ``SCSS_CACHE`` folder under your ``STATIC_ROOT`` (or ``MEDIA_ROOT`` if you have no ``STATIC_ROOT`` in your settings).\r\nYou can change this folder with ``SCSS_ROOT`` and ``SCSS_OUTPUT_DIR`` settings.\r\n\r\nNote that all relative URLs in your stylesheet are converted to absolute URLs using your ``STATIC_URL`` setting.\r\n\r\n\r\nSettings\r\n********\r\n\r\n``SCSS_EXECUTABLE``\r\n Path to SASS compiler executable. Default: \"sass\".\r\n\r\n``SCSS_ROOT``\r\n Controls the absolute file path that compiled files will be written to. Default: ``STATIC_ROOT``.\r\n\r\n``SCSS_OUTPUT_DIR``\r\n Controls the directory inside ``SCSS_ROOT`` that compiled files will be written to. Default: ``\"SCSS_CACHE\"``.\r\n\r\n``SCSS_USE_CACHE``\r\n Whether to use cache for inline styles. Default: ``True``.\r\n\r\n``SCSS_CACHE_TIMEOUT``\r\n Cache timeout for inline styles (in seconds). Default: 30 days.\r\n\r\n``SCSS_MTIME_DELAY``\r\n Cache timeout for reading the modification time of external stylesheets (in seconds). Default: 10 seconds.\r\n\r\n``SCSS_USE_COMPASS``\r\n Boolean. Wheter to use compass or not. Compass must be installed in your system. Run \"sass --compass\" and if no error is shown it means that compass is installed.\r\n\r\n\r\nChanges\r\n*******\r\n\r\n0.6.1\r\n------\r\n\r\n- Use hashlib instead of django.utils.hashcompat which is deprecated in Django 1.5\r\n\r\n0.6\r\n----\r\n\r\n- Add staticfiles finder to serve compiled files in dev mode\r\n\r\n\r\n0.5\r\n----\r\n\r\n- Add SCSS_ROOT setting\r\n\r\n\r\n0.4.1\r\n-----\r\n\r\n- Fix unicodedecodeerror with non ascii in scss file\r\n\r\n0.4\r\n----\r\n - Switch to staticfiles.finders when looking up the files in DEBUG mode.\r\n - Fix the CWD when running scss compiler\r\n\r\n0.3\r\n----\r\n\r\n- Add support for lookup in STATICFILES_DIRS\r\n- Allow to use Compass\r\n\r\n0.2\r\n----\r\n\r\n- Log SCSS compilation errors\r\n- Fixed bug with paths on Windows\r\n\r\n\r\n0.1\r\n----\r\n\r\n- Initial release", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/andreyfedoseev/django-scss", "keywords": "scss,css", "license": "UNKNOWN", "maintainer": "", "maintainer_email": "", "name": "django-scss", "package_url": "https://pypi.org/project/django-scss/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-scss/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/andreyfedoseev/django-scss" }, "release_url": "https://pypi.org/project/django-scss/0.6.1/", "requires_dist": null, "requires_python": null, "summary": "Django template tags to compile SCSS into CSS", "version": "0.6.1" }, "last_serial": 908188, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "e08365845365d6d1176a9ca44404ce89", "sha256": "3b49f7393359ea5325b50521e771967b72737a1b78cc29efa0ac9b4d11ebf2a5" }, "downloads": -1, "filename": "django-scss-0.2.tar.gz", "has_sig": false, "md5_digest": "e08365845365d6d1176a9ca44404ce89", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6284, "upload_time": "2011-11-28T05:52:37", "url": "https://files.pythonhosted.org/packages/f3/b4/7751f1f0a4dd959c449980c032087aebdbb4b24fe175111653d9f8db7d9d/django-scss-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "75c79c1f26e8ba4e88b1cc2f9aa0eec6", "sha256": "75811426d3651669ce550a0e1017391fa51c6bcda53a6fb8ec47d3a35091d01b" }, "downloads": -1, "filename": "django-scss-0.3.tar.gz", "has_sig": false, "md5_digest": "75c79c1f26e8ba4e88b1cc2f9aa0eec6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7833, "upload_time": "2012-11-03T15:33:29", "url": "https://files.pythonhosted.org/packages/b7/ed/84b7a4728964fb6b019470baf2db723b5a543c44b26d1f8695054b9e05ae/django-scss-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "655f5f906a2fb7be60ed669435010351", "sha256": "b01fe52d735b8474aa62297f8e867be36117446444dc5cb857bac1c5919f2a21" }, "downloads": -1, "filename": "django-scss-0.4.tar.gz", "has_sig": false, "md5_digest": "655f5f906a2fb7be60ed669435010351", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7865, "upload_time": "2012-11-17T12:18:13", "url": "https://files.pythonhosted.org/packages/ca/b1/defdb6c44dcc88297b6da988523cb24dd0f3b5728b7f5c256e0c400df45d/django-scss-0.4.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "4de27c5e2a9e71c42bf3b7b93c093365", "sha256": "17b74a9b85d77cfb1a57f3c1eb183cabfb7814498ac075e470254b1bd36293ef" }, "downloads": -1, "filename": "django-scss-0.4.1.tar.gz", "has_sig": false, "md5_digest": "4de27c5e2a9e71c42bf3b7b93c093365", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8034, "upload_time": "2012-12-25T14:14:39", "url": "https://files.pythonhosted.org/packages/d0/bd/e48406f0707dc22beb8d8e2766a6e24baefa818f5f7288a54f40e027d5f4/django-scss-0.4.1.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "0e6f1b81172308999b1cf1d1abe10c3e", "sha256": "0dca9ce499b6aa6849bf5fda83beb89affcda529c05894cc31025f34cc4910e9" }, "downloads": -1, "filename": "django-scss-0.5.tar.gz", "has_sig": false, "md5_digest": "0e6f1b81172308999b1cf1d1abe10c3e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8131, "upload_time": "2013-01-14T11:22:49", "url": "https://files.pythonhosted.org/packages/e3/24/678e8e6b1a49389560120049c11b31a8f1980011a82c68f89a9cbe8dbf1d/django-scss-0.5.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "d72cee5beafbbd86cd1180f090a4252d", "sha256": "6e32b6c876741b41c83ea175e8c967ac35ab51649508f95b4653ddbe599bb55f" }, "downloads": -1, "filename": "django-scss-0.6.tar.gz", "has_sig": false, "md5_digest": "d72cee5beafbbd86cd1180f090a4252d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8814, "upload_time": "2013-01-20T13:41:55", "url": "https://files.pythonhosted.org/packages/54/6e/99ea6c6ea51cdda92f6dc4e95f3689f0d42306b71e877dc101a460280fe4/django-scss-0.6.tar.gz" } ], "0.6.1": [ { "comment_text": "", "digests": { "md5": "99f19560f659767416b1e4f2b21043d5", "sha256": "201545148b5531680a4729c4aa36f08cfe5c256eecfe4e075a90c20e79c06693" }, "downloads": -1, "filename": "django-scss-0.6.1.tar.gz", "has_sig": false, "md5_digest": "99f19560f659767416b1e4f2b21043d5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8932, "upload_time": "2013-04-14T09:02:17", "url": "https://files.pythonhosted.org/packages/74/8c/8d4d317590adbd27a4f7697b572f3c11d031daa610bf0ff74eee15912dea/django-scss-0.6.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "99f19560f659767416b1e4f2b21043d5", "sha256": "201545148b5531680a4729c4aa36f08cfe5c256eecfe4e075a90c20e79c06693" }, "downloads": -1, "filename": "django-scss-0.6.1.tar.gz", "has_sig": false, "md5_digest": "99f19560f659767416b1e4f2b21043d5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8932, "upload_time": "2013-04-14T09:02:17", "url": "https://files.pythonhosted.org/packages/74/8c/8d4d317590adbd27a4f7697b572f3c11d031daa610bf0ff74eee15912dea/django-scss-0.6.1.tar.gz" } ] }