My favorites | Sign in
Project Home
Search
for
Installation  
Installation instructions for django-compress
Updated Nov 2, 2011 by andreas....@gmail.com

django-compress is no longer maintained

Please consider switching to [django-pipeline http://django-pipeline.readthedocs.org/]!

This page is kept for historical reasons.


Installation is pretty straight-forward and follows the same installation procedure as many other Django applications. django-compress does not create any models, so you do not need to configure a database.

Recommendations

By default django-compress uses CSSTidy to compress CSS. CSSTidy is an excellent stand-alone application for dealing with CSS-files. CSSTidy can be downloaded from: http://csstidy.sourceforge.net/. If you do not install CSSTidy, make sure to disable the filter in your settings (by setting COMPRESS_CSS_FILTERS = None).

Install instructions

  1. Get the code from svn: svn co http://django-compress.googlecode.com/svn/trunk/ django-compress
    1. Use the setup.py script to install: python setup.py install
    2. OR manually put the compress-directory somewhere on your PYTHONPATH
  2. Add 'compress' to your INSTALLED_APPS

Using git?

The main source repository is now available at github: http://github.com/pelme/django-compress/tree/master

The Subversion repository at Google Code will still be updated, though.

If you want to grab django-compress via git, use: git://github.com/pelme/django-compress.git

Comment by Jim.mixt...@gmail.com, Dec 2, 2009

Great App! As someone who maintains a couple of django apps, I know how few people leave comments one way or the other.

Keep up the good work :)

Comment by dualrud...@gmail.com, Jan 12, 2010

To make install easier: "easy_install django-compress" worked for me. And CSSTidy is available on Ubuntu through the package repository. Easy-peasy.

Comment by dualrud...@gmail.com, Jan 12, 2010

One important modification to my earlier comment, use easy_install -Z django-compress, otherwise Django won't find it.

Comment by Lenni...@gmail.com, Jan 18, 2010

My host runs on Python 2.4. Will it work with that?

Comment by staren...@gmail.com, Sep 29, 2010

@dualrudder Thanks! You made my day.

Comment by jasonbo...@gmail.com, Jan 20, 2011

This app saves a lot of tedious work. Thank you.

Comment by dpowa...@gmail.com, Mar 7, 2011

Very good app - thanks, had a problem though: C:\Windows\system32>easy_install django-compress Searching for django-compress Reading http://pypi.python.org/simple/django-compress/ Reading http://code.google.com/p/django-compress/ Best match: django-compress 1.0.1 Downloading http://pypi.python.org/packages/source/d/django-compress/django-compress-1.0.1.tar.gz#md5=ddd83d36b6085f0aa0 0e2a3e9e7df75c Processing django-compress-1.0.1.tar.gz error: c:\users\damian~1\appdata\local\temp\easy_install-chcy6x\django-compress-1.0.1\docs\:2e_Installation.textile: inv alid mode ('wb') or filename

Comment by mari.car...@gmail.com, Mar 7, 2011

Same problem here. I'm using virtualenv.

error: c:\users\damian~1\appdata\local\temp\easy_install-chcy6x\django-compress-1.0.1\docs\:2e_Installation.textile: inv alid mode ('wb') or filename


Sign in to add a comment
Powered by Google Project Hosting