[Checkins] SVN: z3c.pdftemplate/trunk/ Get ready for release.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Fri Feb 15 02:56:04 EST 2008
Log message for revision 83844:
Get ready for release.
Changed:
_U z3c.pdftemplate/trunk/
A z3c.pdftemplate/trunk/CHANGES.txt
A z3c.pdftemplate/trunk/README.txt
A z3c.pdftemplate/trunk/bootstrap.py
A z3c.pdftemplate/trunk/buildout.cfg
A z3c.pdftemplate/trunk/setup.py
_U z3c.pdftemplate/trunk/src/
U z3c.pdftemplate/trunk/src/z3c/__init__.py
U z3c.pdftemplate/trunk/src/z3c/pdftemplate/README.txt
-=-
Property changes on: z3c.pdftemplate/trunk
___________________________________________________________________
Name: svn:ignore
+ .installed.cfg
bin
develop-eggs
dist
parts
Added: z3c.pdftemplate/trunk/CHANGES.txt
===================================================================
--- z3c.pdftemplate/trunk/CHANGES.txt (rev 0)
+++ z3c.pdftemplate/trunk/CHANGES.txt 2008-02-15 07:56:03 UTC (rev 83844)
@@ -0,0 +1,8 @@
+=======
+CHANGES
+=======
+
+0.1.0 (2008-02-15)
+------------------
+
+- Initial Release
Property changes on: z3c.pdftemplate/trunk/CHANGES.txt
___________________________________________________________________
Name: svn:eol-style
+ native
Added: z3c.pdftemplate/trunk/README.txt
===================================================================
--- z3c.pdftemplate/trunk/README.txt (rev 0)
+++ z3c.pdftemplate/trunk/README.txt 2008-02-15 07:56:03 UTC (rev 83844)
@@ -0,0 +1 @@
+Quickly generate PDF files using page templates and RML.
Property changes on: z3c.pdftemplate/trunk/README.txt
___________________________________________________________________
Name: svn:eol-style
+ native
Added: z3c.pdftemplate/trunk/bootstrap.py
===================================================================
--- z3c.pdftemplate/trunk/bootstrap.py (rev 0)
+++ z3c.pdftemplate/trunk/bootstrap.py 2008-02-15 07:56:03 UTC (rev 83844)
@@ -0,0 +1,52 @@
+##############################################################################
+#
+# 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.
+#
+##############################################################################
+"""Bootstrap a buildout-based project
+
+Simply run this script in a directory containing a buildout.cfg.
+The script accepts buildout command-line options, so you can
+use the -c option to specify an alternate configuration file.
+
+$Id$
+"""
+
+import os, shutil, sys, tempfile, urllib2
+
+tmpeggs = tempfile.mkdtemp()
+
+ez = {}
+exec urllib2.urlopen('http://peak.telecommunity.com/dist/ez_setup.py'
+ ).read() in ez
+ez['use_setuptools'](to_dir=tmpeggs, download_delay=0)
+
+import pkg_resources
+
+cmd = 'from setuptools.command.easy_install import main; main()'
+if sys.platform == 'win32':
+ cmd = '"%s"' % cmd # work around spawn lamosity on windows
+
+ws = pkg_resources.working_set
+assert os.spawnle(
+ os.P_WAIT, sys.executable, sys.executable,
+ '-c', cmd, '-mqNxd', tmpeggs, 'zc.buildout',
+ dict(os.environ,
+ PYTHONPATH=
+ ws.find(pkg_resources.Requirement.parse('setuptools')).location
+ ),
+ ) == 0
+
+ws.add_entry(tmpeggs)
+ws.require('zc.buildout')
+import zc.buildout.buildout
+zc.buildout.buildout.main(sys.argv[1:] + ['bootstrap'])
+shutil.rmtree(tmpeggs)
Property changes on: z3c.pdftemplate/trunk/bootstrap.py
___________________________________________________________________
Name: svn:keywords
+ Id
Added: z3c.pdftemplate/trunk/buildout.cfg
===================================================================
--- z3c.pdftemplate/trunk/buildout.cfg (rev 0)
+++ z3c.pdftemplate/trunk/buildout.cfg 2008-02-15 07:56:03 UTC (rev 83844)
@@ -0,0 +1,10 @@
+[buildout]
+develop = .
+parts = test
+
+[test]
+recipe = zc.recipe.testrunner
+eggs = z3c.pdftemplate [test]
+
+
+
Added: z3c.pdftemplate/trunk/setup.py
===================================================================
--- z3c.pdftemplate/trunk/setup.py (rev 0)
+++ z3c.pdftemplate/trunk/setup.py 2008-02-15 07:56:03 UTC (rev 83844)
@@ -0,0 +1,71 @@
+##############################################################################
+#
+# Copyright (c) 2007 Zope Foundation 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.
+#
+##############################################################################
+"""Setup
+
+$Id:$
+"""
+import os
+from setuptools import setup, find_packages
+
+def read(*rnames):
+ return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
+
+setup (
+ name='z3c.pdftemplate',
+ version='0.1.0',
+ author = "Stephan Richter and the Zope Community",
+ author_email = "zope-dev at zope.org",
+ description = "PDF Template",
+ long_description=(
+ read('README.txt')
+ + '\n\n' +
+ 'Detailed Documentation\n'
+ '**********************'
+ + '\n\n' +
+ read('src', 'z3c', 'pdftemplate', 'README.txt')
+ + '\n\n' +
+ read('CHANGES.txt')
+ ),
+ license = "ZPL 2.1",
+ keywords = "zope3 pdf rml reportlab template",
+ classifiers = [
+ 'Development Status :: 4 - Beta',
+ 'Environment :: Web Environment',
+ 'Intended Audience :: Developers',
+ 'License :: OSI Approved :: Zope Public License',
+ 'Programming Language :: Python',
+ 'Natural Language :: English',
+ 'Operating System :: OS Independent',
+ 'Topic :: Internet :: WWW/HTTP',
+ 'Framework :: Zope3'],
+ url = 'http://pypi.python.org/pypi/z3c.pdftemplate',
+ packages = find_packages('src'),
+ include_package_data = True,
+ package_dir = {'':'src'},
+ namespace_packages = ['z3c'],
+ extras_require = dict(
+ test = [
+ 'zope.app.testing',
+ ],
+ ),
+ install_requires = [
+ 'setuptools',
+ 'z3c.rml',
+ 'zope.interface',
+ 'zope.component',
+ 'zope.schema',
+ 'zope.publisher',
+ ],
+ zip_safe = False,
+)
Property changes on: z3c.pdftemplate/trunk/setup.py
___________________________________________________________________
Name: svn:keywords
+ Id
Property changes on: z3c.pdftemplate/trunk/src
___________________________________________________________________
Name: svn:ignore
+ z3c.pdftemplate.egg-info
Modified: z3c.pdftemplate/trunk/src/z3c/__init__.py
===================================================================
--- z3c.pdftemplate/trunk/src/z3c/__init__.py 2008-02-15 01:49:46 UTC (rev 83843)
+++ z3c.pdftemplate/trunk/src/z3c/__init__.py 2008-02-15 07:56:03 UTC (rev 83844)
@@ -1 +1,22 @@
-# Make a package
+##############################################################################
+#
+# Copyright (c) 2006 Lovely Systems 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.
+#
+##############################################################################
+"""
+$Id$
+"""
+
+# this is a namespace package
+try:
+ __import__('pkg_resources').declare_namespace(__name__)
+except ImportError:
+ pass
Modified: z3c.pdftemplate/trunk/src/z3c/pdftemplate/README.txt
===================================================================
--- z3c.pdftemplate/trunk/src/z3c/pdftemplate/README.txt 2008-02-15 01:49:46 UTC (rev 83843)
+++ z3c.pdftemplate/trunk/src/z3c/pdftemplate/README.txt 2008-02-15 07:56:03 UTC (rev 83844)
@@ -20,7 +20,7 @@
Using ``z3c.rml`` and ReportLab to generate PDF Views
-=====================================================
+-----------------------------------------------------
See DEPENDENCIES.cfg, this lib depends on some 3rd party libraries.
More information about the Checkins
mailing list