[Checkins] SVN: zope.interface/branches/3.3/setup.py Fixed bug in
handling install w/o setuptools.
Jim Fulton
jim at zope.com
Mon Jan 8 09:44:02 EST 2007
Log message for revision 71809:
Fixed bug in handling install w/o setuptools.
Changed:
U zope.interface/branches/3.3/setup.py
-=-
Modified: zope.interface/branches/3.3/setup.py
===================================================================
--- zope.interface/branches/3.3/setup.py 2007-01-08 14:41:03 UTC (rev 71808)
+++ zope.interface/branches/3.3/setup.py 2007-01-08 14:44:01 UTC (rev 71809)
@@ -16,12 +16,23 @@
$Id$
"""
-import os
+import os, sys
try:
from setuptools import setup, Extension
except ImportError, e:
from distutils.core import setup, Extension
+
+ if sys.version_info[:2] >= (2, 4):
+ extra = dict(
+ package_data={
+ 'zope.interface': ['*.txt'],
+ 'zope.interface.tests': ['*.txt'],
+ }
+ )
+ else:
+ extra = {}
+
else:
extra = dict(
namespace_packages=["zope"],
@@ -35,7 +46,7 @@
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
setup(name='zope.interface',
- version='3.3.0b1',
+ version='3.3.0b2',
url='http://www.python.org/pypi/zope.interface',
license='ZPL 2.1',
description='Zope 3 Interface Infrastructure',
More information about the Checkins
mailing list