[Checkins] SVN: five.formlib/trunk/ Boilerplate

Hanno Schlichting hannosch at hannosch.eu
Sat Dec 26 16:39:31 EST 2009


Log message for revision 107121:
  Boilerplate
  

Changed:
  _U  five.formlib/trunk/
  A   five.formlib/trunk/CHANGES.txt
  A   five.formlib/trunk/README.txt
  A   five.formlib/trunk/bootstrap.py
  A   five.formlib/trunk/buildout.cfg
  A   five.formlib/trunk/setup.py
  A   five.formlib/trunk/src/
  A   five.formlib/trunk/src/five/
  A   five.formlib/trunk/src/five/__init__.py
  A   five.formlib/trunk/src/five/formlib/
  A   five.formlib/trunk/src/five/formlib/__init__.py

-=-

Property changes on: five.formlib/trunk
___________________________________________________________________
Added: svn:ignore
   + develop-eggs
eggs
fake-eggs
bin
parts
downloads
var
build
dist
local.cfg
*.egg-info
.installed.cfg
*.pyc
.Python
include
lib


Added: five.formlib/trunk/CHANGES.txt
===================================================================
--- five.formlib/trunk/CHANGES.txt	                        (rev 0)
+++ five.formlib/trunk/CHANGES.txt	2009-12-26 21:39:31 UTC (rev 107121)
@@ -0,0 +1,7 @@
+Changelog
+=========
+
+1.0 - unreleased
+----------------
+
+* Initial version


Property changes on: five.formlib/trunk/CHANGES.txt
___________________________________________________________________
Added: svn:eol-style
   + native

Added: five.formlib/trunk/README.txt
===================================================================
--- five.formlib/trunk/README.txt	                        (rev 0)
+++ five.formlib/trunk/README.txt	2009-12-26 21:39:31 UTC (rev 107121)
@@ -0,0 +1,8 @@
+Introduction
+============
+
+Overview
+--------
+
+five.formlib provides integration of the zope.formlib and zope.app.form
+packages into the Zope2 application server.


Property changes on: five.formlib/trunk/README.txt
___________________________________________________________________
Added: svn:eol-style
   + native

Added: five.formlib/trunk/bootstrap.py
===================================================================
--- five.formlib/trunk/bootstrap.py	                        (rev 0)
+++ five.formlib/trunk/bootstrap.py	2009-12-26 21:39:31 UTC (rev 107121)
@@ -0,0 +1,60 @@
+##############################################################################
+#
+# 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.
+"""
+
+import os, shutil, sys, tempfile, urllib2
+
+tmpeggs = tempfile.mkdtemp()
+
+try:
+    import pkg_resources
+except ImportError:
+    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
+
+if sys.platform == 'win32':
+    def quote(c):
+        if ' ' in c:
+            return '"%s"' % c # work around spawn lamosity on windows
+        else:
+            return c
+else:
+    def quote (c):
+        return c
+
+cmd = 'from setuptools.command.easy_install import main; main()'
+ws  = pkg_resources.working_set
+assert os.spawnle(
+    os.P_WAIT, sys.executable, quote (sys.executable),
+    '-c', quote (cmd), '-mqNxd', quote (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: five.formlib/trunk/bootstrap.py
___________________________________________________________________
Added: svn:eol-style
   + native

Added: five.formlib/trunk/buildout.cfg
===================================================================
--- five.formlib/trunk/buildout.cfg	                        (rev 0)
+++ five.formlib/trunk/buildout.cfg	2009-12-26 21:39:31 UTC (rev 107121)
@@ -0,0 +1,9 @@
+[buildout]
+parts = test
+develop = .
+
+[test]
+recipe = zc.recipe.testrunner
+eggs = 
+    five.formlib
+defaults = ['-c', '--module', 'five.formlib']


Property changes on: five.formlib/trunk/buildout.cfg
___________________________________________________________________
Added: svn:eol-style
   + native

Added: five.formlib/trunk/setup.py
===================================================================
--- five.formlib/trunk/setup.py	                        (rev 0)
+++ five.formlib/trunk/setup.py	2009-12-26 21:39:31 UTC (rev 107121)
@@ -0,0 +1,37 @@
+from setuptools import setup
+
+version = '1.0'
+
+setup(name='five.formlib',
+      version=version,
+      url='http://pypi.python.org/pypi/five.formlib',
+      license='ZPL 2.1',
+      description='zope.formlib integration for Zope 2',
+      author='Zope Foundation',
+      author_email='zope-dev at zope.org',
+      long_description=open("README.txt").read() + "\n" + 
+                       open("CHANGES.txt").read(),
+      classifiers=[
+          'Environment :: Web Environment',
+          'Framework :: Zope2',
+          'License :: OSI Approved :: Zope Public License',
+          'Operating System :: OS Independent',
+          'Programming Language :: Python',
+          'Topic :: Internet :: WWW/HTTP :: Site Management',
+      ],
+      keywords='zope zope2 five formlib',
+      packages=['five', 'five.formlib'],
+      package_dir = {'': 'src'},
+      namespace_packages=['five',],
+      include_package_data = True,
+      extras_require=dict(
+          test=[]
+          ),
+      install_requires=[
+        'Zope2',
+        'setuptools',
+        'zope.formlib',
+        'zope.app.form',
+      ],
+      zip_safe = False,
+      )


Property changes on: five.formlib/trunk/setup.py
___________________________________________________________________
Added: svn:eol-style
   + native

Added: five.formlib/trunk/src/five/__init__.py
===================================================================
--- five.formlib/trunk/src/five/__init__.py	                        (rev 0)
+++ five.formlib/trunk/src/five/__init__.py	2009-12-26 21:39:31 UTC (rev 107121)
@@ -0,0 +1 @@
+__import__('pkg_resources').declare_namespace(__name__)


Property changes on: five.formlib/trunk/src/five/__init__.py
___________________________________________________________________
Added: svn:eol-style
   + native

Added: five.formlib/trunk/src/five/formlib/__init__.py
===================================================================
--- five.formlib/trunk/src/five/formlib/__init__.py	                        (rev 0)
+++ five.formlib/trunk/src/five/formlib/__init__.py	2009-12-26 21:39:31 UTC (rev 107121)
@@ -0,0 +1 @@
+#
\ No newline at end of file


Property changes on: five.formlib/trunk/src/five/formlib/__init__.py
___________________________________________________________________
Added: svn:eol-style
   + native



More information about the checkins mailing list