This file is indexed.

/usr/share/pyshared/sunpinyin/setup.py is in python-sunpinyin 2.0.3+git20140127-4.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
31
32
33
34
35
36
from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext

setup(
    name='sunpinyin-python',
    version='0.1',
    author = "Yong Sun",
    author_email = "Yong.Sun@Sun.COM",
    url = "http://www.opensolaris.org/os/project/input-method",
    description = "A Python binding of the SunPinyin ngram model",
    long_description = "A Python binding of the SunPinyin ngram model",
    license = "CDDL/LGPLv2.1",

    ext_modules=[
        Extension(
            "pyslm", ["pyslm.pyx", 
                      "../src/slm/slm.cpp"], 
            language="c++", 
            include_dirs=["../src/slm", ".."], 
            define_macros=[("HAVE_CONFIG_H", None)]
        ),
        Extension(
            "pytrie", ["pytrie.pyx", 
                       "../src/portability.cpp", 
                       "../src/lexicon/pytrie.cpp", 
                       "../src/lexicon/pinyin_data.cpp"], 
            language="c++", 
            include_dirs=["../src", "../src/lexicon", ".."], 
            define_macros=[("HAVE_CONFIG_H", None)]
        ),
    ],
    cmdclass = {'build_ext': build_ext}
)

# -*- indent-tabs-mode: nil -*- vim:et:ts=4