RETIRED, further work has moved to Debian project infrastructure
Go to file
Ondřej Nový 7f1d985c5f Mass changes
d/s/options: extend-diff-ignore of .gitreview
d/control: Using OpenStack's Gerrit as VCS URLs.

Change-Id: I8fd503cb454f3a9efa2501aa8ac2e1b9d638d1ca
2016-09-26 19:08:52 +02:00
csscompressor Merge pull request #4 from vlad003/master 2015-11-07 11:50:57 -05:00
debian Mass changes 2016-09-26 19:08:52 +02:00
.gitignore Ignore setup.py-related directories 2013-10-09 12:25:35 -04:00
.gitreview Add .gitreview for debian/newton 2016-09-16 13:29:03 +05:30
.travis.yml Update travis 2015-11-07 11:45:55 -05: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 travis ci badge 2015-08-18 00:28:41 -04:00
setup.py bump version to 0.9.4 2015-08-18 08:28:57 +04:30

README.rst

image

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.