RETIRED, further work has moved to Debian project infrastructure
Go to file
Tayyeb bec5b9bc41 fix test.base.py to extent unittest.TestCase 2015-08-18 09:37:40 +04:30
csscompressor fix test.base.py to extent unittest.TestCase 2015-08-18 09:37:40 +04:30
.gitignore Ignore setup.py-related directories 2013-10-09 12:25:35 -04:00
LICENSE Add LICENSE file 2013-10-08 13:25:11 -04:00
MANIFEST.in add MANIFEST.in to keep LICENSE in the distribution 2013-10-08 16:28:43 -04:00
README.rst README: Add installation instructions 2013-10-09 12:43:57 -04:00
setup.py bump version to 0.9.4 2015-08-18 08:28:57 +04:30

README.rst

Almost exact port of YUI CSS Compressor. Passes all original unittests.

Usage

>>> from csscompressor import compress
>>> compress('''
...    your css {
...        content: "!";
...    }
... ''')
'your css{content:"!"}'

Or, if you want to use it from command line:

$ python3 -m csscompressor --help

Compatibility

Tested under Python 2.6, 2.7 and 3.3

Installation

Use pip or easy_install:

$ pip install csscompressor

Development

Use py.test to run unittests

License

Published under the original Yahoo License for YUI Compressor -- BSD.