[Checkins] SVN: zope.proxy/trunk/ Define 'headers' as part of the feature, too.

Tres Seaver cvs-admin at zope.org
Wed Jun 6 20:13:31 UTC 2012


Log message for revision 126627:
  Define 'headers' as part of the feature, too.

Changed:
  _U  zope.proxy/trunk/
  U   zope.proxy/trunk/setup.py

-=-
Modified: zope.proxy/trunk/setup.py
===================================================================
--- zope.proxy/trunk/setup.py	2012-06-06 20:13:24 UTC (rev 126626)
+++ zope.proxy/trunk/setup.py	2012-06-06 20:13:28 UTC (rev 126627)
@@ -29,6 +29,7 @@
 Cwrapper = Feature(
     "C wrapper",
     standard = True,
+    headers=[os.path.join('src', 'zope', 'proxy', 'proxy.h')],
     ext_modules=[Extension("zope.proxy._zope_proxy_proxy",
                             [os.path.join('src', 'zope', 'proxy',
                                         "_zope_proxy_proxy.c")
@@ -42,10 +43,8 @@
 is_pypy = py_impl() == 'PyPy'
 if is_pypy:
     features = {}
-    headers = []
 else:
     features = {'Cwrapper': Cwrapper}
-    headers=[os.path.join('src', 'zope', 'proxy', 'proxy.h')],
 
 setup(name='zope.proxy',
       version = '4.0.0dev',
@@ -78,7 +77,6 @@
       package_dir = {'': 'src'},
       namespace_packages=['zope',],
       features=features,
-      headers=headers,
       test_suite = 'zope.proxy',
       install_requires=[
           'zope.interface',



More information about the checkins mailing list