Add README and setup.py
This commit is contained in:
parent
6b466160f5
commit
211931c85d
|
@ -0,0 +1,28 @@
|
|||
Almost exact port of YUI CSS Compressor.
|
||||
Passes all original unittests.
|
||||
|
||||
|
||||
Usage
|
||||
=====
|
||||
|
||||
.. code:: pycon
|
||||
|
||||
>>> from csscompressor import compress
|
||||
>>> compress('''
|
||||
... your css {
|
||||
... content: "!";
|
||||
... }
|
||||
... ''')
|
||||
'your css{content:"!"}'
|
||||
|
||||
|
||||
Compatibility
|
||||
=============
|
||||
|
||||
Tested under Python 2.6, 2.7 and 3.3
|
||||
|
||||
|
||||
License
|
||||
=======
|
||||
|
||||
Published under the original Yahoo License for YUI Compressor -- BSD.
|
|
@ -0,0 +1,32 @@
|
|||
from setuptools import setup
|
||||
|
||||
|
||||
extra = {}
|
||||
f = open('README.rst', 'r')
|
||||
try:
|
||||
extra['long_description'] = f.read()
|
||||
finally:
|
||||
f.close()
|
||||
|
||||
|
||||
setup(
|
||||
name='csscompressor',
|
||||
version='0.9.0',
|
||||
url='http://github.com/sprymix/csscompressor',
|
||||
license='BSD',
|
||||
author='Yury Selivanov',
|
||||
author_email='info@sprymix.com',
|
||||
description='A python port of YUI CSS Compressor',
|
||||
classifiers=[
|
||||
'Development Status :: 5 - Production/Stable',
|
||||
'Intended Audience :: Developers',
|
||||
'License :: OSI Approved :: BSD License',
|
||||
'Operating System :: OS Independent',
|
||||
'Programming Language :: Python',
|
||||
'Programming Language :: Python :: 3',
|
||||
'Programming Language :: Python :: 2',
|
||||
'Topic :: Text Processing :: General'
|
||||
],
|
||||
packages=['csscompressor', 'csscompressor.tests'],
|
||||
**extra
|
||||
)
|
Loading…
Reference in New Issue