Installation

Install from PyPI

This is published on PyPI. You can install it easily by your using package manager.

Example with pip
pip install sass-embedded

Wheel bundles Dart Sass executable

Some bdist have already Dart Sass executable for platform. When you install it, you can use this without additional operations.

You can list of registered bdist on “Download files” page of PyPI.

Any target wheel and sdist does not bundle it

When pip runs installation this, it installs none-any bdist or sdist if platform does not match registered bdist.

These distributions don’t have Dart Sass executable at default. You must install it manually by calling sass-embedded module.

See Install Dart Sass executable.

Install from source code

Example with pip
pip install https://github.com/attakei/sass-embedded-python/archive/refs/heads/main.zip

It also don’t have Dart Sass executable at default. You must install it manually by calling sass-embedded module.

See Install Dart Sass executable.

Install Dart Sass executable

sass-embedded provides runner to install Dart Sass executable into package space.

Run these command when you need to install it.

Install Dart Sass executable
python -m sass_embedded.dart_sass