Created
December 9, 2011 18:02
-
-
Save tgecho/1452629 to your computer and use it in GitHub Desktop.
Add all static/sass under all installed python packages to compass import paths
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pythonpath = eval(`python -c 'import sys; print sys.path'`) | |
additional_import_paths = [] | |
for path in pythonpath | |
path << '/*/static/sass' | |
for dir in Dir.glob(path) | |
additional_import_paths << dir | |
end | |
end | |
puts 'additional_import_paths: ', additional_import_paths |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment