File: setup.py

package info (click to toggle)
pychm 0.8.4-0.1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 180 kB
  • ctags: 230
  • sloc: ansic: 1,547; python: 543; makefile: 3
file content (22 lines) | stat: -rwxr-xr-x 1,111 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
import distutils
from distutils.core import setup, Extension

setup(name="pychm",
      version="0.8.4",
      description="Python package to handle CHM files",
      author="Rubens Ramos",
      author_email="rubensr@users.sourceforge.net",
      url="http://gnochm.sourceforge.net",
      license="GPL",
      long_description="The chm package provides three modules, chm, chmlib and extra, which provide access to the API implemented by the C library chmlib and some additional classes and functions. They are used to access MS-ITSS encoded files - Compressed Html Help files (.chm).",
      py_modules = ["chm.chm", "chm.chmlib"],
      ext_modules = [Extension("chm._chmlib",
                               ["chm/swig_chm.c"],
                               libraries=["chm"],
                               extra_compile_args=["-DSWIG_COBJECT_TYPES"],
                               ),
                     Extension("chm.extra",
                               ["chm/extra.c"],
                               extra_compile_args=["-D__PYTHON__"],
                               libraries=["chm"])]
      )