Commits

holger krekel committed c598023

updating for tox testability

Comments (0)

Files changed (4)

 include LICENSE 
 include conftest.py 
 graft doc
-graft contrib
-graft bin 
 graft testing
 #exclude *.orig 
 #exclude *.orig 
 exclude *.rej 
-exclude .hginore
 exclude *.pyc
 #recursive-exclude testing *.pyc *.orig *.rej *$py.class
 #prune .pyc
 import py
 import sys
 
-pytest_plugins = '_pytest doctest pytester'.split()
+pytest_plugins = 'doctest pytester'.split()
 
 collect_ignore = ['build', 'doc/_build']
 
         name='pylib',
         description='pylib: cross-python path, io, code, log facilities',
         long_description = long_description,
-        #install_requires=['py>=1.3.9', ], # force newer py version which removes 'py' namespace
+        install_requires=['py>=1.3.9', ], # force newer py version which removes 'py' namespace
         #                                  # so we can occupy it
         version= '2.0.0.dev0',
         url='http://pylib.org',
 sdistsrc={distshare}/py-*
 
 [testenv]
+indexserver=http://pypi.testrun.org
 changedir=testing
 commands=
   py.test -rfsxX --junitxml={envlogdir}/junit-{envname}.xml []
-deps=
-    {distshare}/pytest-2*
 [testenv:py27-xdist]
 basepython=python2.7
 deps=
-    {distshare}/pytest-2*
-    {distshare}/pytest-xdist*
+    pytest
+    pytest-xdist
 commands=
   py.test -n3 -rfsxX \
         --junitxml={envlogdir}/junit-{envname}.xml []
 
 [testenv:jython]
 changedir=testing
-basepython=jython
 commands=
     {envpython} {envbindir}/py.test-jython \
-        -rfsxX --junitxml={envlogdir}/junit-{envname}1.xml [io_ code]
+        -rfsxX --junitxml={envlogdir}/junit-{envname}0.xml [io_ code]