[Checkins] SVN: zc.set/trunk/s - added setup and init to package
(for eggification)
Roman Joost
rj at gocept.com
Mon Mar 26 08:01:47 EDT 2007
Log message for revision 73620:
- added setup and init to package (for eggification)
Changed:
A zc.set/trunk/setup.py
A zc.set/trunk/src/zc/__init__.py
-=-
Added: zc.set/trunk/setup.py
===================================================================
--- zc.set/trunk/setup.py 2007-03-26 11:54:13 UTC (rev 73619)
+++ zc.set/trunk/setup.py 2007-03-26 12:01:46 UTC (rev 73620)
@@ -0,0 +1,12 @@
+from setuptools import setup, find_packages
+
+setup(
+ name="zc.set",
+ version="0.1dev",
+ packages=find_packages('src'),
+ package_dir={'':'src'},
+ namespace_packages=['zc'],
+ include_package_data=True,
+ install_requires=['setuptools'],
+ zip_safe=False
+ )
Added: zc.set/trunk/src/zc/__init__.py
===================================================================
--- zc.set/trunk/src/zc/__init__.py 2007-03-26 11:54:13 UTC (rev 73619)
+++ zc.set/trunk/src/zc/__init__.py 2007-03-26 12:01:46 UTC (rev 73620)
@@ -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__)
More information about the Checkins
mailing list