[Checkins] SVN: z3c.persistentfactory/trunk/ Added `test` extra to ``setup.py``, as the tests need ``zope.testing``.

Michael Howitz mh at gocept.com
Wed Aug 11 02:08:09 EDT 2010


Log message for revision 115619:
  Added `test` extra to ``setup.py``, as the tests need ``zope.testing``.
  

Changed:
  U   z3c.persistentfactory/trunk/buildout.cfg
  U   z3c.persistentfactory/trunk/docs/HISTORY.txt
  U   z3c.persistentfactory/trunk/setup.py

-=-
Modified: z3c.persistentfactory/trunk/buildout.cfg
===================================================================
--- z3c.persistentfactory/trunk/buildout.cfg	2010-08-10 13:48:40 UTC (rev 115618)
+++ z3c.persistentfactory/trunk/buildout.cfg	2010-08-11 06:08:08 UTC (rev 115619)
@@ -4,4 +4,4 @@
 
 [test]
 recipe = zc.recipe.testrunner
-eggs = z3c.persistentfactory
+eggs = z3c.persistentfactory [test]

Modified: z3c.persistentfactory/trunk/docs/HISTORY.txt
===================================================================
--- z3c.persistentfactory/trunk/docs/HISTORY.txt	2010-08-10 13:48:40 UTC (rev 115618)
+++ z3c.persistentfactory/trunk/docs/HISTORY.txt	2010-08-11 06:08:08 UTC (rev 115619)
@@ -1,6 +1,12 @@
 Changelog
 =========
 
+0.4 (unreleased)
+----------------
+
+* Added `test` extra to ``setup.py``, as the tests need ``zope.testing``.
+
+
 0.3 - 2008-04-10
 ----------------
 

Modified: z3c.persistentfactory/trunk/setup.py
===================================================================
--- z3c.persistentfactory/trunk/setup.py	2010-08-10 13:48:40 UTC (rev 115618)
+++ z3c.persistentfactory/trunk/setup.py	2010-08-11 06:08:08 UTC (rev 115619)
@@ -3,36 +3,42 @@
 
 version = '0.3'
 
-setup(name='z3c.persistentfactory',
-      version=version,
-      description=(
-          "Wrap instance methods in persistent factory wrappers for "
-          "using instance methods as ZCA factories."), 
-      long_description=(open(os.path.join(
-          "z3c", "persistentfactory", "README.txt")).read() + "\n" +
-                        open(os.path.join("docs", "HISTORY.txt")).read()),
-      # Get more strings from http://www.python.org/pypi?%3Aaction=list_classifiers
-      classifiers=[
+setup(
+    name='z3c.persistentfactory',
+    version=version,
+    description=(
+        "Wrap instance methods in persistent factory wrappers for "
+        "using instance methods as ZCA factories."),
+    long_description=(open(os.path.join(
+        "z3c", "persistentfactory", "README.txt")).read() + "\n" +
+                      open(os.path.join("docs", "HISTORY.txt")).read()),
+    # Get more strings from http://www.python.org/pypi?%3Aaction=list_classifiers
+    classifiers=[
         "Programming Language :: Python",
         "Topic :: Software Development :: Libraries :: Python Modules",
         ],
-      keywords='',
-      author='Ross Patterson',
-      author_email='me at rpatterson.net',
-      url='http://pypi.python.org/pypi/z3c.persistentfactory',
-      license='ZPL',
-      packages=find_packages(exclude=['ez_setup']),
-      namespace_packages=['z3c'],
-      include_package_data=True,
-      zip_safe=False,
-      install_requires=[
-          'setuptools',
-          # -*- Extra requirements: -*-
-          'zope.interface',
-          'zope.component',
-          'ZODB3',
-      ],
-      entry_points="""
-      # -*- Entry points: -*-
-      """,
-      )
+    keywords='',
+    author='Ross Patterson',
+    author_email='me at rpatterson.net',
+    url='http://pypi.python.org/pypi/z3c.persistentfactory',
+    license='ZPL',
+    packages=find_packages(exclude=['ez_setup']),
+    namespace_packages=['z3c'],
+    include_package_data=True,
+    zip_safe=False,
+    install_requires=[
+        'setuptools',
+        # -*- Extra requirements: -*-
+        'zope.interface',
+        'zope.component',
+        'ZODB3',
+    ],
+    extras_require = dict(
+        test = [
+            'zope.testing',
+            ],
+        ),
+    entry_points="""
+    # -*- Entry points: -*-
+    """,
+    )



More information about the checkins mailing list