1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
#!/usr/bin/python
from distutils.core import setup, Extension
__version__ = "1.0.5"
macros = [('MODULE_VERSION', '"%s"' % __version__)]
setup(name = "python-cjson",
version = __version__,
author = "Dan Pascu",
author_email = "dan@ag-projects.com",
url = "http://ag-projects.com/",
download_url = "http://cheeseshop.python.org/pypi/python-cjson/%s" % __version__,
description = "Fast JSON encoder/decoder for Python",
long_description = open('README').read(),
license = "LGPL",
platforms = ["Platform Independent"],
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules"
],
ext_modules = [
Extension(name='cjson', sources=['cjson.c'], define_macros=macros)
]
)
|