[Checkins] SVN: Sandbox/ulif/z3c.recipe.textfile/ Add basic recipe files.

Uli Fouquet uli at gnufix.de
Wed Feb 4 08:28:53 EST 2009


Log message for revision 96076:
  Add basic recipe files.

Changed:
  A   Sandbox/ulif/z3c.recipe.textfile/CHANGES.txt
  A   Sandbox/ulif/z3c.recipe.textfile/CONTRIBUTORS.txt
  A   Sandbox/ulif/z3c.recipe.textfile/README.txt
  A   Sandbox/ulif/z3c.recipe.textfile/setup.py

-=-
Added: Sandbox/ulif/z3c.recipe.textfile/README.txt
===================================================================
--- Sandbox/ulif/z3c.recipe.textfile/README.txt	                        (rev 0)
+++ Sandbox/ulif/z3c.recipe.textfile/README.txt	2009-02-04 13:28:53 UTC (rev 96076)
@@ -0,0 +1,13 @@
+z3c.recipe.textfile
+*******************
+
+A ``zc.buildout`` recipe to create configuration or other text files
+out of simple templates in template files or ``buildout.cfg`` itself.
+
+.. contents::
+
+
+- Code repository: http://svn.zope.org/z3c.recipe.textfile
+- Questions and comments to zopedev at zope.org
+- Report bugs at https://bugs.launchpad.net/zope3
+

Added: Sandbox/ulif/z3c.recipe.textfile/setup.py
===================================================================
--- Sandbox/ulif/z3c.recipe.textfile/setup.py	                        (rev 0)
+++ Sandbox/ulif/z3c.recipe.textfile/setup.py	2009-02-04 13:28:53 UTC (rev 96076)
@@ -0,0 +1,68 @@
+# -*- coding: utf-8 -*-
+"""
+This module contains the tool of z3c.recipe.textfile
+"""
+import os
+from setuptools import setup, find_packages
+
+def read(*rnames):
+    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
+
+version = '0.1dev'
+
+long_description = (
+    read('README.txt')
+    + '\n' +
+    'Detailed Documentation\n'
+    '**********************\n'
+    + '\n' +
+    read('z3c', 'recipe', 'textfile', 'README.txt')
+    + '\n' +
+    'Contributors\n' 
+    '************\n'
+    + '\n' +
+    read('CONTRIBUTORS.txt')
+    + '\n' +
+    'Change history\n'
+    '**************\n'
+    + '\n' + 
+    read('CHANGES.txt')
+    + '\n' +
+   'Download\n'
+    '********\n'
+    )
+entry_point = 'z3c.recipe.textfile:Recipe'
+entry_points = {"zc.buildout": ["default = %s" % entry_point]}
+
+tests_require=['zope.testing', 'zc.buildout']
+
+setup(name='z3c.recipe.textfile',
+      version=version,
+      description="Generate plain textfiles out of templates",
+      long_description=long_description,
+      # Get more strings from http://www.python.org/pypi?%3Aaction=list_classifiers
+      classifiers=[
+        'Framework :: Buildout',
+        'Intended Audience :: Developers',
+        'Topic :: Software Development :: Build Tools',
+        'Topic :: Software Development :: Libraries :: Python Modules',
+        'License :: OSI Approved :: Zope Public License',
+        ],
+      keywords='buildout zc.buildout recipe textfile configuration',
+      author='Tarek',
+      author_email='uli.at.gnufix.de',
+      url='',
+      license='ZPL',
+      packages=find_packages(exclude=['ez_setup']),
+      namespace_packages=['z3c', 'z3c.recipe'],
+      include_package_data=True,
+      zip_safe=False,
+      install_requires=['setuptools',
+                        'zc.buildout'
+                        # -*- Extra requirements: -*-
+                        ],
+      tests_require=tests_require,
+      extras_require=dict(tests=tests_require),
+      test_suite = 'z3c.recipe.textfile.tests.test_docs.test_suite',
+      entry_points=entry_points,
+      )



More information about the Checkins mailing list