Skip to content

Commit bdab04f

Browse files
Initial commit
1 parent 3743891 commit bdab04f

4 files changed

Lines changed: 13 additions & 280 deletions

File tree

LICENSE

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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

33
Copyright (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`,
2929
originally developed by @zacharyvoase (Zachary Voase).
3030
The 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`
3737
by Zachary Voase and the original `yuicompressor`, from which
3838
the 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

README.md

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,15 @@
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

105
Use 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

1611
Or 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

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
sys.exit("Sorry, Python version 2.6 and 3.0-3.5 are not supported.")
99

1010
setup(
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
)

src/cssmin.py

Lines changed: 0 additions & 260 deletions
This file was deleted.

0 commit comments

Comments
 (0)