|
|
|
|
scripts = ['scripts/peak'] |
scripts = ['scripts/peak'] |
|
|
packages = find_packages('src') |
packages = find_packages('src') |
|
|
extensions = [ |
extensions = [ |
|
Extension("peak.util.pyexpat", [ |
|
"src/peak/util/pyexpat.c", |
|
"src/expat/xmlparse.c", "src/expat/xmltok.c", #"src/expat/xmltok_ns.c", |
|
"src/expat/xmlrole.c",], #"src/expat/xmltok_impl.c"], |
|
include_dirs=["src/expat"], |
|
define_macros=[('XML_STATIC',1),('HAVE_MEMMOVE',1)] # XXX |
|
), |
Extension("kjbuckets", ["src/kjbuckets/kjbucketsmodule.c"]), |
Extension("kjbuckets", ["src/kjbuckets/kjbucketsmodule.c"]), |
Extension( |
Extension( |
"peak.binding._once", [ |
"peak.binding._once", [ |
Extension('_csv', ['src/_csv.c']), |
Extension('_csv', ['src/_csv.c']), |
] |
] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
try: |
try: |
# Check if Zope X3 is installed; we use zope.component |
# Check if Zope X3 is installed; we use zope.component |
# because we don't install it ourselves; if we used something we |
# because we don't install it ourselves; if we used something we |
Extension("peak.util._uuidgen", ["src/peak/util/_uuidgen.c"]), |
Extension("peak.util._uuidgen", ["src/peak/util/_uuidgen.c"]), |
] |
] |
), |
), |
|
'pyexpat-plus': Feature( |
|
"Backport pyexpat features from Python 2.4", |
|
standard=sys.version_info < (2,4), optional = False, |
|
remove = ["peak.util.pyexpat"] |
|
), |
} |
} |
|
|
|
|
|
|
|
|
|
|
|
|
ALL_EXTS = [ |
ALL_EXTS = [ |
'*.ini', '*.html', '*.conf', '*.xml', '*.pwt', '*.dtd', '*.txt', |
'*.ini', '*.html', '*.conf', '*.xml', '*.pwt', '*.dtd', '*.txt', |
] |
] |