PACKAGE_NAME = "PEAK" |
PACKAGE_NAME = "PEAK" |
PACKAGE_VERSION = "0.5a4" |
PACKAGE_VERSION = "0.5a4" |
HAPPYDOC_IGNORE = [ |
HAPPYDOC_IGNORE = [ |
'-i','datetime', '-i','old', '-i','tests', '-i','setup', '-i','examples', |
'-i','old', '-i','tests', '-i','setup', '-i','examples', |
'-i', 'kjbuckets', '-i', 'ZConfig', '-i', 'csv', |
'-i', 'kjbuckets', '-i', 'ZConfig', |
] |
] |
|
|
|
|
include_dirs=["src/expat"], |
include_dirs=["src/expat"], |
define_macros=[('XML_STATIC',1),('HAVE_MEMMOVE',1)] # XXX |
define_macros=[('XML_STATIC',1),('HAVE_MEMMOVE',1)] # XXX |
), |
), |
Extension("kjbuckets", ["src/kjbuckets/kjbucketsmodule.c"]), |
|
Extension( |
Extension( |
"peak.binding._once", [ |
"peak.binding._once", [ |
"src/peak/binding/_once.pyx", "src/peak/binding/getdict.c" |
"src/peak/binding/_once.pyx", "src/peak/binding/getdict.c" |
Extension( |
Extension( |
"peak.persistence._persistence", ["src/peak/persistence/persistence.c"] |
"peak.persistence._persistence", ["src/peak/persistence/persistence.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 |
|
|
|
|
execfile('src/setup/common.py') |
execfile('src/setup/common.py') |
|
|
features = { |
features = { |
'tests': Feature( |
'tests': Feature( |
"test modules", standard = True, |
"test modules", standard = True, |
'metamodels': Feature( |
'metamodels': Feature( |
"MOF/UML metamodels", standard = True, remove=['peak.metamodels'] |
"MOF/UML metamodels", standard = True, remove=['peak.metamodels'] |
), |
), |
'legacy-support': Feature( |
'kjbuckets': Feature( |
"Python 2.2 support packages", |
"Aaron Watters' kjbuckets module (DEPRECATED!)", standard = False, |
standard = sys.version_info < (2,3), optional = False, |
ext_modules = [ |
remove = ['datetime','csv','_csv'], |
Extension("kjbuckets", ["src/kjbuckets/kjbucketsmodule.c"]), |
|
] |
), |
), |
'fcgiapp': Feature( |
'fcgiapp': Feature( |
"FastCGI support", standard = (os.name=='posix'), |
"FastCGI support", standard = (os.name=='posix'), |