Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
uses: asottile/workflows/.github/workflows/tox.yml@v1.8.1
with:
env: '["py310"]'
os: macos-13
os: macos-15-intel
wheel-tags: true
submodules: true
main-linux:
Expand Down
7 changes: 4 additions & 3 deletions sassutils/wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@

"""
import collections.abc
import importlib
import logging
import os.path

from pkg_resources import resource_filename

from .builder import Manifest
from sass import CompileError

Expand Down Expand Up @@ -107,7 +106,9 @@ def __init__(
for package_name in self.manifests:
if package_name in self.package_dir:
continue
path = resource_filename(package_name, '')
path = os.path.dirname(
importlib.import_module(package_name).__file__,
)
self.package_dir[package_name] = path
self.paths = []
for package_name, manifest in self.manifests.items():
Expand Down
Loading