[Checkins] SVN: zope.etree/trunk/s - Eggify

Sidnei da Silva sidnei at enfoldsystems.com
Tue Aug 7 13:54:51 EDT 2007


Log message for revision 78674:
   - Eggify

Changed:
  A   zope.etree/trunk/setup.py
  U   zope.etree/trunk/src/zope/__init__.py
  U   zope.etree/trunk/src/zope/etree/__init__.py

-=-
Added: zope.etree/trunk/setup.py
===================================================================
--- zope.etree/trunk/setup.py	                        (rev 0)
+++ zope.etree/trunk/setup.py	2007-08-07 17:54:51 UTC (rev 78674)
@@ -0,0 +1,26 @@
+##############################################################################
+#
+# Copyright (c) 2006 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+
+from setuptools import setup, find_packages
+
+setup(
+    name="zope.etree",
+    version="0.1dev",
+    packages=find_packages('src'),
+    package_dir={'':'src'},
+    namespace_packages=['zope'],
+    include_package_data=True,
+    install_requires = ['setuptools'],
+    zip_safe = False,
+    )

Modified: zope.etree/trunk/src/zope/__init__.py
===================================================================
--- zope.etree/trunk/src/zope/__init__.py	2007-08-07 14:46:05 UTC (rev 78673)
+++ zope.etree/trunk/src/zope/__init__.py	2007-08-07 17:54:51 UTC (rev 78674)
@@ -0,0 +1,7 @@
+# this is a namespace package
+try:
+    import pkg_resources
+    pkg_resources.declare_namespace(__name__)
+except ImportError:
+    import pkgutil
+    __path__ = pkgutil.extend_path(__path__, __name__)

Modified: zope.etree/trunk/src/zope/etree/__init__.py
===================================================================
--- zope.etree/trunk/src/zope/etree/__init__.py	2007-08-07 14:46:05 UTC (rev 78673)
+++ zope.etree/trunk/src/zope/etree/__init__.py	2007-08-07 17:54:51 UTC (rev 78674)
@@ -1,3 +1,4 @@
+##############################################################################
 #
 # Copyright (c) 2006 Zope Corporation and Contributors.
 # All Rights Reserved.



More information about the Checkins mailing list