diff options
author | German M. Bravo <german.mb@deipi.com> | 2011-12-23 03:29:24 -0600 |
---|---|---|
committer | German M. Bravo <german.mb@deipi.com> | 2011-12-23 03:29:24 -0600 |
commit | 671759b525d5563ca00e72a0c76f663e187d3be2 (patch) | |
tree | e21bb0251affd2f37e64e5d5772a42e889c37f41 /setup.py | |
parent | 2254e37954a564be6025ce38fb2ce4e3e95c8d5d (diff) | |
download | pyscss-671759b525d5563ca00e72a0c76f663e187d3be2.tar.gz |
Building a C scanner
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 30 |
1 files changed, 17 insertions, 13 deletions
@@ -1,5 +1,5 @@ #!/usr/bin/env python -from setuptools import setup +from setuptools import setup, Extension from scss.scss_meta import PROJECT, URL, VERSION, AUTHOR, AUTHOR_EMAIL, LICENSE, DOWNLOAD_URL @@ -19,7 +19,6 @@ if sys.version_info >= (3, 0): use_2to3=True, ) - setup(name=PROJECT, version=VERSION, description=read('DESCRIPTION'), @@ -31,19 +30,24 @@ setup(name=PROJECT, packages=['scss'], license=LICENSE, keywords='css oocss xcss sass scss less precompiler', - classifiers=["Development Status :: 5 - Production/Stable", - "Intended Audience :: Developers", - "License :: OSI Approved :: MIT License", - "Operating System :: OS Independent", - "Programming Language :: Python", - "Programming Language :: Python :: 3", - "Topic :: Software Development :: Code Generators", - "Topic :: Text Processing :: Markup", - "Topic :: Software Development :: Libraries :: Python Modules" - ], + classifiers=[ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Topic :: Software Development :: Code Generators", + "Topic :: Text Processing :: Markup", + "Topic :: Software Development :: Libraries :: Python Modules" + ], + ext_modules=[ + Extension('scss._scss', sources=['scss/src/_scss.c'], optional=True) + ], + package_data={'scss': ['scss/tests.rst', 'LICENSE', 'CHANGELOG']}, entry_points=""" [console_scripts] pyscss = scss:main """, **extra - ) +) |