[Checkins] SVN: zope.app.publication/trunk/ Infrastructure for migrating to python3

Andrey Lebedev cvs-admin at zope.org
Fri Feb 22 15:06:03 UTC 2013


Log message for revision 129650:
  Infrastructure for migrating to python3
  
  

Changed:
  U   zope.app.publication/trunk/setup.py
  A   zope.app.publication/trunk/tox.ini

-=-
Modified: zope.app.publication/trunk/setup.py
===================================================================
--- zope.app.publication/trunk/setup.py	2013-02-22 14:21:14 UTC (rev 129649)
+++ zope.app.publication/trunk/setup.py	2013-02-22 15:06:03 UTC (rev 129650)
@@ -25,6 +25,22 @@
 def read(*rnames):
     return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
 
+TEST_REQUIREMENTS =['zope.annotation',
+                    'zope.app.appsetup >= 3.14.0',
+                    'zope.app.http >= 3.10',
+                    'zope.app.wsgi <3.11, >= 3.12',
+                    'zope.applicationcontrol>=3.5.0',
+                    'zope.browserpage',
+                    'zope.login',
+                    'zope.password',
+                    'zope.principalregistry',
+                    'zope.security>=4.0.0a1',
+                    'zope.securitypolicy',
+                    'zope.site',
+                    'zope.testing',
+                    'zope.testrunner',
+                    'ZODB3>=3.10dev']
+
 setup(name='zope.app.publication',
     version=version,
     author='Zope Corporation and Contributors',
@@ -51,32 +67,21 @@
     packages=find_packages('src'),
     package_dir = {'': 'src'},
     namespace_packages=['zope', 'zope.app'],
-    extras_require = dict(
-        test=['zope.annotation',
-              'zope.app.appsetup >= 3.14.0',
-              'zope.app.http >= 3.10',
-              'zope.app.wsgi <3.11, >= 3.12',
-              'zope.applicationcontrol>=3.5.0',
-              'zope.browserpage',
-              'zope.login',
-              'zope.password',
-              'zope.principalregistry',
-              'zope.security',
-              'zope.securitypolicy',
-              'zope.site',
-              'zope.testing',
-              'ZODB3>=3.10dev']),
+    extras_require = dict(test=TEST_REQUIREMENTS),
     install_requires=['zope.interface',
                       'zope.authentication',
                       'zope.component',
                       'zope.error',
                       'zope.browser>=1.2',
                       'zope.location',
-                      'zope.publisher>=3.12.4',
+                      'zope.publisher>=4.0.0a2',
                       'zope.traversing>=3.9.0',
+                      'zope.untrustedpython',
+                      'zope.i18n>=4.0.0a3',
                       'transaction>=1.1.0',
                       'setuptools',
                       ],
+    tests_require = TEST_REQUIREMENTS,
     include_package_data = True,
     zip_safe = False,
     )

Added: zope.app.publication/trunk/tox.ini
===================================================================
--- zope.app.publication/trunk/tox.ini	                        (rev 0)
+++ zope.app.publication/trunk/tox.ini	2013-02-22 15:06:03 UTC (rev 129650)
@@ -0,0 +1,23 @@
+[tox]
+envlist = py26, py27
+
+[testenv]
+commands =
+    zope-testrunner --test-path src
+deps = 
+    six
+    zope.app.appsetup >= 3.14.0
+    zope.app.http >= 3.10
+    zope.app.wsgi  >= 3.12
+    zope.applicationcontrol>=3.5.0
+    zope.browserpage
+    zope.login
+    zope.password
+    zope.principalregistry
+    zope.security
+    zope.securitypolicy
+    zope.site
+    zope.testing
+    zope.testrunner
+    zope.untrustedpython
+    ZODB3>=3.10dev



More information about the checkins mailing list