[pypy-commit] pyrepl py3ksupport: fix up stuff for tox usage

RonnyPfannschmidt noreply at buildbot.pypy.org
Wed Oct 19 10:44:54 CEST 2011


Author: Ronny Pfannschmidt <Ronny.Pfannschmidt at gmx.de>
Branch: py3ksupport
Changeset: r141:f1c267d79023
Date: 2011-10-19 09:34 +0200
http://bitbucket.org/pypy/pyrepl/changeset/f1c267d79023/

Log:	fix up stuff for tox usage

diff --git a/.hgignore b/.hgignore
--- a/.hgignore
+++ b/.hgignore
@@ -1,3 +1,4 @@
 dist/
 build/
+\.tox/
 .*\.egg-info
diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -39,7 +39,7 @@
     license = "MIT X11 style",
     description = "A library for building flexible command line interfaces",
     platforms = ["unix", "linux"],
-    packages = ["pyrepl", "pyrepl.tests"],
+    packages = ["pyrepl" ],
     #ext_modules = [Extension("_pyrepl_utils", ["pyrepl_utilsmodule.c"])],
     scripts = ["pythoni", "pythoni1"],
     long_description = long_desc,
diff --git a/tox.ini b/tox.ini
new file mode 100644
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,7 @@
+[tox]
+envlist= py27, py32
+
+[testenv]
+deps=pytest
+commands=
+    py.test --junitxml={envdir}/junit.xml []


More information about the pypy-commit mailing list