[Checkins] SVN: zope.sequencesort/trunk/s Added a setup.py file to
'eggify' the package.
Alexander Heavner
alex at zope.com
Wed Feb 14 15:35:27 EST 2007
Log message for revision 72577:
Added a setup.py file to 'eggify' the package.
The 'src' and 'zope' directoryies were added to give structure to the package.
__init__.py makes zope a namespace package.
Changed:
A zope.sequencesort/trunk/setup.py
A zope.sequencesort/trunk/src/
A zope.sequencesort/trunk/src/zope/
A zope.sequencesort/trunk/src/zope/__init__.py
-=-
Added: zope.sequencesort/trunk/setup.py
===================================================================
--- zope.sequencesort/trunk/setup.py 2007-02-14 20:26:40 UTC (rev 72576)
+++ zope.sequencesort/trunk/setup.py 2007-02-14 20:35:27 UTC (rev 72577)
@@ -0,0 +1,13 @@
+from setuptools import setup, find_packages
+
+setup(
+ name="zope.sequencesort",
+ version="0.1dev",
+ packages=find_packages('src'),
+ package_dir={'':'src'},
+ namespace_packages=['zope'],
+ include_package_data=True,
+ install_requirements = ['setuptools'],
+ zip_safe = False
+ )
+
Property changes on: zope.sequencesort/trunk/src/zope
___________________________________________________________________
Name: svn:externals
+ sequencesort svn://svn.zope.org/repos/main/Zope3/trunk/src/zope/sequencesort
Added: zope.sequencesort/trunk/src/zope/__init__.py
===================================================================
--- zope.sequencesort/trunk/src/zope/__init__.py 2007-02-14 20:26:40 UTC (rev 72576)
+++ zope.sequencesort/trunk/src/zope/__init__.py 2007-02-14 20:35:27 UTC (rev 72577)
@@ -0,0 +1,8 @@
+# this is a namespace package
+try:
+ import pkg_resources
+ pkg_resources.declare_namespace(__name__)
+except ImportError:
+ import pkgutil
+ __path__ = pkgutil.extend_path(__path__, __name__)
+
More information about the Checkins
mailing list