File: setup.py

package info (click to toggle)
python-cjson 1.0.5-1%2Blenny1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 124 kB
  • ctags: 125
  • sloc: ansic: 916; python: 245; makefile: 22; sh: 2
file content (30 lines) | stat: -rwxr-xr-x 1,097 bytes parent folder | download | duplicates (2)
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)
      ]
)