[Checkins] SVN: zope.interface/trunk/ Fixed declaration of _zope_interface_coptimizations, it's not a top level package. Before this change the egg metadata was wrong.

Florian Schulze florian.schulze at gmx.net
Sat Aug 30 14:44:10 EDT 2008


Log message for revision 90622:
  Fixed declaration of _zope_interface_coptimizations, it's not a top level package. Before this change the egg metadata was wrong.

Changed:
  U   zope.interface/trunk/CHANGES.txt
  U   zope.interface/trunk/setup.py

-=-
Modified: zope.interface/trunk/CHANGES.txt
===================================================================
--- zope.interface/trunk/CHANGES.txt	2008-08-30 16:16:13 UTC (rev 90621)
+++ zope.interface/trunk/CHANGES.txt	2008-08-30 18:44:08 UTC (rev 90622)
@@ -5,6 +5,9 @@
 3.4.2 (unreleased)
 ==================
 
+- Fixed declaration of _zope_interface_coptimizations, it's not a top level
+  package.
+
 - Allow to bootstrap on Jython.
 
 - Fix https://bugs.launchpad.net/zope3/3.3/+bug/98388: ISpecification

Modified: zope.interface/trunk/setup.py
===================================================================
--- zope.interface/trunk/setup.py	2008-08-30 16:16:13 UTC (rev 90621)
+++ zope.interface/trunk/setup.py	2008-08-30 18:44:08 UTC (rev 90622)
@@ -18,14 +18,15 @@
 
 import os, sys
 
-from distutils.command.build_ext import build_ext
 from distutils.errors import (CCompilerError, DistutilsExecError, 
                               DistutilsPlatformError)
 
 try:
     from setuptools import setup, Extension, Feature
+    from setuptools.command.build_ext import build_ext
 except ImportError, e:
     from distutils.core import setup, Extension
+    from distutils.command.build_ext import build_ext
 
     if sys.version_info[:2] >= (2, 4):
         extra = dict(
@@ -41,7 +42,7 @@
     codeoptimization = Feature("Optional code optimizations",
                                standard = True,
                                ext_modules = [Extension(
-                                             "_zope_interface_coptimizations",
+                                             "zope.interface._zope_interface_coptimizations",
                                              [os.path.normcase(
                                              os.path.join('src', 'zope',
                                              'interface',
@@ -121,6 +122,5 @@
 
       packages = ['zope', 'zope.interface'],
       package_dir = {'': 'src'},
-      ext_package='zope.interface',
       cmdclass = {'build_ext': optional_build_ext},
       **extra)



More information about the Checkins mailing list