[Checkins] SVN: zc.resourcelibrary/trunk/ * Add in setup.py so that
egg can be created for zc.resourcelibrary.
Martijn Faassen
faassen at infrae.com
Wed Apr 5 06:55:16 EDT 2006
Log message for revision 66503:
* Add in setup.py so that egg can be created for zc.resourcelibrary.
* make zc/__init__.py a namespace package.
* add in svn:ignore to ignore egg-generated files.
Changed:
_U zc.resourcelibrary/trunk/
A zc.resourcelibrary/trunk/setup.py
_U zc.resourcelibrary/trunk/src/
A zc.resourcelibrary/trunk/src/zc/__init__.py
-=-
Property changes on: zc.resourcelibrary/trunk
___________________________________________________________________
Name: svn:ignore
+ build
dist
Added: zc.resourcelibrary/trunk/setup.py
===================================================================
--- zc.resourcelibrary/trunk/setup.py 2006-04-05 09:25:18 UTC (rev 66502)
+++ zc.resourcelibrary/trunk/setup.py 2006-04-05 10:55:15 UTC (rev 66503)
@@ -0,0 +1,25 @@
+from setuptools import setup, find_packages
+
+setup(
+ name="zc.resourcelibrary",
+ version="0.1",
+ packages=find_packages('src', exclude=["*.tests", "*.ftests"]),
+
+ package_dir= {'':'src'},
+
+ namespace_packages=['zc'],
+ package_data = {
+ '': ['*.txt', '*.zcml'],
+ },
+
+ zip_safe=False,
+ author='Zope Project',
+ author_email='zope3-dev at zope.org',
+ description="""\
+The resource library is a Zope 3 extension that is designed to make the
+inclusion of JavaScript, CSS, and other resources easy, cache-friendly,
+and component-friendly.
+""",
+ license='ZPL',
+ keywords="zope zope3",
+ )
Property changes on: zc.resourcelibrary/trunk/src
___________________________________________________________________
Name: svn:ignore
+ zc.resourcelibrary.egg-info
Added: zc.resourcelibrary/trunk/src/zc/__init__.py
===================================================================
--- zc.resourcelibrary/trunk/src/zc/__init__.py 2006-04-05 09:25:18 UTC (rev 66502)
+++ zc.resourcelibrary/trunk/src/zc/__init__.py 2006-04-05 10:55:15 UTC (rev 66503)
@@ -0,0 +1,5 @@
+# this is a namespace package
+try:
+ __import__('pkg_resources').declare_namespace(__name__)
+except ImportError:
+ pass
More information about the Checkins
mailing list