Commits

edcrewe  committed 2e1fa49

update configuration for testing with plone 4.3

  • Participants
  • Parent commits 8b6f701

Comments (0)

Files changed (5)

File docs/HISTORY.txt

 Changelog for ilrt.formalworkflow
 ---------------------------------
 
+ilrt.formalworkflow - 1.9 Released - 23rd June
+
+   - Test and fix formalworkflow with latest Plone 4.3	    
+   - Modify setup.py to specify test requirements
+
 ilrt.formalworkflow - 1.8 Released - 1st December 2011
 
    - Modify configure zcml for cmf permissions compatibility with plone 4.1

File docs/INSTALL.txt

 ilrt.formalworkflow Installation
-=======================
+================================
 
-To install ilrt.formalworkflow into the global Python environment (or a workingenv),
-using a traditional Zope 2 instance, you can do this:
-
- * When you're reading this you have probably already run 
-   ``easy_install ilrt.formalworkflow``. Find out how to install setuptools
-   (and EasyInstall) here:
-   http://peak.telecommunity.com/DevCenter/EasyInstall
-
- * If you are using Zope 2.9 (not 2.10), get `pythonproducts`_ and install it 
-   via::
-
-       python setup.py install --home /path/to/instance
-
-   into your Zope instance.
-
- * Create a file called ``ilrt.formalworkflow-configure.zcml`` in the
-   ``/path/to/instance/etc/package-includes`` directory.  The file
-   should only contain this::
-
-       <include package="ilrt.formalworkflow" />
-
-.. _pythonproducts: http://plone.org/products/pythonproducts
+Buildout
+--------
 
 Alternatively, if you are using zc.buildout and the plone.recipe.zope2instance
 recipe to manage your project, you can do this:
     $ ./bin/buildout
         
 You can skip the ZCML slug if you are going to explicitly include the package
-from another package's configure.zcml file.
+from another package's configure.zcml file.
+
+Testing
+-------
+
+To install for testing add the following ...
+
+[test]
+recipe = zc.recipe.testrunner
+defaults = ['--auto-color', '--auto-progress']
+eggs = 
+     ilrt.formalworkflow [test]
+
+... where ilrt.formalworkflow [test] indicates the extra testing eggs that are specified in formalworkflow setup.py 
+
+Raw installation
+----------------
+
+(Not of much use without also installing Plone etc.)
+
+To install ilrt.formalworkflow into the global Python environment (or a workingenv),
+using a traditional Zope 2 instance, you can do this:
+
+ * When you're reading this you have probably already run 
+   ``easy_install ilrt.formalworkflow``. Find out how to install setuptools
+   (and EasyInstall) here:
+   http://peak.telecommunity.com/DevCenter/EasyInstall
+
+ * If you are using Zope 2.9 (not 2.10), get `pythonproducts`_ and install it 
+   via::
+
+       python setup.py install --home /path/to/instance
+
+   into your Zope instance.
+
+ * Create a file called ``ilrt.formalworkflow-configure.zcml`` in the
+   ``/path/to/instance/etc/package-includes`` directory.  The file
+   should only contain this::
+
+       <include package="ilrt.formalworkflow" />
+
+.. _pythonproducts: http://plone.org/products/pythonproducts

File ilrt.formalworkflow.egg-info/PKG-INFO

-Metadata-Version: 1.0
+Metadata-Version: 1.1
 Name: ilrt.formalworkflow
-Version: 1.8
+Version: 1.9
 Summary: Formal workflow is designed to prevent editing, deletion or reversion of published content from skipping review
 Home-page: http://bitbucket.org/edcrewe/ilrt.formalworkflow
 Author: Internet Development, ILRT, University of Bristol

File ilrt.formalworkflow.egg-info/requires.txt

-setuptools
+setuptools
+plone.app.iterate
+
+[test]
+Products.PloneTestCase
+plone.app.testing
 from setuptools import setup, find_packages
 import os
 
-version = '1.8'
+version = '1.9'
 
 setup(name='ilrt.formalworkflow',
       version=version,
       zip_safe=False,
       install_requires=[
           'setuptools',
-          # -*- Extra requirements: -*-
+          'plone.app.iterate'
       ],
+      extras_require = {
+        'test': [
+            'Products.PloneTestCase',
+            'plone.app.testing',
+            ]
+      },
       entry_points="""
       # -*- Entry points: -*-
       """,