diff --git a/compressor/__init__.py b/compressor/__init__.py index ad83c11..974d2e1 100644 --- a/compressor/__init__.py +++ b/compressor/__init__.py @@ -1,4 +1,4 @@ -VERSION = (0, 8, 0, "f", 0) # following PEP 386 +VERSION = (0, 9, 0, "f", 0) # following PEP 386 DEV_N = None diff --git a/compressor/base.py b/compressor/base.py index edf662a..647d49b 100644 --- a/compressor/base.py +++ b/compressor/base.py @@ -1,5 +1,4 @@ import os -import socket from django.core.files.base import ContentFile from django.template.loader import render_to_string diff --git a/compressor/css.py b/compressor/css.py index 41a484d..0ffe31d 100644 --- a/compressor/css.py +++ b/compressor/css.py @@ -1,5 +1,3 @@ -import os - from compressor.conf import settings from compressor.base import Compressor, SOURCE_HUNK, SOURCE_FILE from compressor.exceptions import UncompressableFileError diff --git a/compressor/js.py b/compressor/js.py index 4814786..53530b9 100644 --- a/compressor/js.py +++ b/compressor/js.py @@ -1,5 +1,3 @@ -import os - from compressor.conf import settings from compressor.base import Compressor, SOURCE_HUNK, SOURCE_FILE from compressor.exceptions import UncompressableFileError diff --git a/compressor/parser/htmlparser.py b/compressor/parser/htmlparser.py index dbbc76e..f3de683 100644 --- a/compressor/parser/htmlparser.py +++ b/compressor/parser/htmlparser.py @@ -1,6 +1,5 @@ from HTMLParser import HTMLParser from django.utils.encoding import smart_unicode -from django.utils.datastructures import SortedDict from compressor.exceptions import ParserError from compressor.parser import ParserBase diff --git a/compressor/tests/runtests.py b/compressor/tests/runtests.py index 0b8dea1..9752ec6 100644 --- a/compressor/tests/runtests.py +++ b/compressor/tests/runtests.py @@ -5,7 +5,6 @@ import coverage from os.path import join from django.conf import settings -from django.core.management import call_command TEST_DIR = os.path.dirname(os.path.abspath(__file__)) diff --git a/compressor/tests/tests.py b/compressor/tests/tests.py index eb0e058..d965057 100644 --- a/compressor/tests/tests.py +++ b/compressor/tests/tests.py @@ -1,7 +1,6 @@ from __future__ import with_statement import os import re -import socket import sys from unittest2 import skipIf diff --git a/docs/changelog.txt b/docs/changelog.txt index 093cd3e..4a5d526 100644 --- a/docs/changelog.txt +++ b/docs/changelog.txt @@ -1,8 +1,8 @@ Changelog ========= -HEAD ----- +0.9 +--- - Fixed the precompiler support to also use the full file path instead of a temporarily created file. diff --git a/docs/conf.py b/docs/conf.py index b9b810a..fb3d6c7 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -48,9 +48,9 @@ copyright = u'2011, Django Compressor authors' # built documents. # # The short X.Y version. -version = '0.8' +version = '0.9' # The full version, including alpha/beta/rc tags. -release = '0.8' +release = '0.9' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages.