File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- `cssmin .py` - A Python port of the YUI CSS compressor.
1+ `cssminx .py` - A fork of a Python port of the YUI CSS compressor.
22
33Copyright (c) 2023 LEKO LABS
44
@@ -25,7 +25,7 @@ OTHER DEALINGS IN THE SOFTWARE.
2525
2626---
2727
28- This software is a fork of a Python module of the same name,
28+ This software is a fork of a Python module of the name `cssmin` ,
2929originally developed by @zacharyvoase (Zachary Voase).
3030The original repository can be found at
3131[this link](https://github.com/zacharyvoase/cssmin).
@@ -37,8 +37,6 @@ More informations about the licenses of the `cssmin`
3737by Zachary Voase and the original `yuicompressor`, from which
3838the module was ported to into Python, can be found below.
3939
40- ---
41-
4240> Copyright (c) 2010 Zachary Voase
4341>
4442> Permission is hereby granted, free of charge, to any person
Original file line number Diff line number Diff line change 1- # ` cssmin `
1+ # ` cssminx `
22
3- This is a Python port of the [ YUI CSS Compressor] [ yuicompressor ] . Install it:
4-
5- [ yuicompressor ] : http://developer.yahoo.com/yui/compressor/
6-
7- $ easy_install cssmin # OR
8- $ pip install cssmin
3+ This is a fork of a Python port of the [ YUI CSS Compressor] [ yuicompressor ] . Install it:
94
105Use it from the command-line:
116
12- $ cssmin --help
13- $ cat file1.css file2.css file3.css | cssmin > output.min.css
14- $ cssmin --wrap 1000 < input.css > output.css
7+ $ cssminx --help
8+ $ cat file1.css file2.css file3.css | cssminx > output.min.css
9+ $ cssminx --wrap 1000 < input.css > output.css
1510
1611Or use it from Python:
1712
18- >>> import cssmin
19- >>> output = cssmin.cssmin (open('input.css').read())
13+ >>> import cssminx
14+ >>> output = cssminx.cssminx (open('input.css').read())
2015 >>> print output
Original file line number Diff line number Diff line change 88 sys .exit ("Sorry, Python version 2.6 and 3.0-3.5 are not supported." )
99
1010setup (
11- name = 'cssmin ' ,
11+ name = 'cssminx ' ,
1212 version = '0.2.0' ,
1313 author = "LEKO LABS" ,
14- url = 'https://github.com/LekoLabs/cssmin ' ,
14+ url = 'https://github.com/LekoLabs/cssminx ' ,
1515 description = "A Python port of the YUI CSS compression algorithm." ,
16- py_modules = ['cssmin ' ],
16+ py_modules = ['cssminx ' ],
1717 package_dir = {'' : 'src' },
18- entry_points = {'console_scripts' : ['cssmin = cssmin :main' ]},
18+ entry_points = {'console_scripts' : ['cssminx = cssminx :main' ]},
1919)
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments