| OLD | NEW |
| (Empty) |
| 1 #!/usr/bin/env python | |
| 2 import os | |
| 3 | |
| 4 from setuptools import setup, find_packages | |
| 5 | |
| 6 from scss import VERSION, PROJECT, LICENSE | |
| 7 | |
| 8 | |
| 9 def read( fname ): | |
| 10 try: | |
| 11 return open( os.path.join( os.path.dirname( __file__ ), fname ) ).read() | |
| 12 except IOError: | |
| 13 return '' | |
| 14 | |
| 15 | |
| 16 META_DATA = dict( | |
| 17 name=PROJECT, | |
| 18 version=VERSION, | |
| 19 license=LICENSE, | |
| 20 description=read( 'DESCRIPTION' ), | |
| 21 long_description=read( 'README.rst' ), | |
| 22 platforms=('Any'), | |
| 23 | |
| 24 author='Kirill Klenov', | |
| 25 author_email='horneds@gmail.com', | |
| 26 url='http://github.com/klen/python-scss', | |
| 27 | |
| 28 keywords= 'css sass scss precompiler', | |
| 29 classifiers=[ | |
| 30 'Development Status :: 4 - Beta', | |
| 31 'Intended Audience :: Developers', | |
| 32 'Natural Language :: Russian', | |
| 33 'Natural Language :: English', | |
| 34 'License :: OSI Approved :: GNU Library or Lesser General Public License
(LGPL)', | |
| 35 'Programming Language :: Python', | |
| 36 'Environment :: Console', | |
| 37 'Topic :: Software Development :: Code Generators', | |
| 38 'Topic :: Text Processing :: Markup', | |
| 39 ], | |
| 40 | |
| 41 packages=find_packages(), | |
| 42 | |
| 43 install_requires = [ 'pyparsing' ], | |
| 44 | |
| 45 entry_points={ | |
| 46 'console_scripts': [ | |
| 47 'scss = scss.tool:main', | |
| 48 ] | |
| 49 }, | |
| 50 ) | |
| 51 | |
| 52 | |
| 53 if __name__ == "__main__": | |
| 54 setup( **META_DATA ) | |
| 55 | |
| 56 | |
| OLD | NEW |