From jpmobjoe at gmail.com Tue Aug 9 02:16:56 2011 From: jpmobjoe at gmail.com (Joseph Prince) Date: Tue, 9 Aug 2011 10:16:56 +1000 Subject: [py-dev] How to install pytest on Android device? Message-ID: Hi, I have an Android device and I want to install pytest on it. At the moment, I could invoke Python (my version of Python is 2.6.2). I tried the usual way to install "setuptools". I tried to install a setuptools-0.6c11-py2.6.egg from the webpage ( http://pypi.python.org/pypi/setuptools#cygwin-mac-os-x-linux-other). so that I can install pytest on http://pypi.python.org/pypi/pytest/2.1.0 When I tried to run the shell for the .egg file, it gives me this error:- # sh setuptools-0.6c11-py2.6.egg dlopen libpython2.6.so error: invalid Python installation: unable to open /data/data/com.googlecode.pythonforandroid/files/python/lib/python2.6/config/Makefile (No such file or directory) Did I miss out any important steps? Please advise. Appreciate your help. -JP -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ronny.Pfannschmidt at gmx.de Tue Aug 9 15:13:51 2011 From: Ronny.Pfannschmidt at gmx.de (Ronny Pfannschmidt) Date: Tue, 09 Aug 2011 15:13:51 +0200 Subject: [py-dev] How to install pytest on Android device? In-Reply-To: References: Message-ID: <1312895631.4344.6.camel@Klappe2> On Tue, 2011-08-09 at 10:16 +1000, Joseph Prince wrote: > Hi, > > I have an Android device and I want to install pytest on it. > > At the moment, I could invoke Python (my version of Python is 2.6.2). > I tried the usual way to install "setuptools". as far as i understand a source-install of setuptools is the best for you > > I tried to install a setuptools-0.6c11-py2.6.egg from the webpage > (http://pypi.python.org/pypi/setuptools#cygwin-mac-os-x-linux-other). > so that I can install pytest on > http://pypi.python.org/pypi/pytest/2.1.0 When I tried to run the shell > for the .egg file, it gives me this error:- > > # sh setuptools-0.6c11-py2.6.egg > dlopen libpython2.6.so > error: invalid Python installation: unable to > open /data/data/com.googlecode.pythonforandroid/files/python/lib/python2.6/config/Makefile (No such file or directory) > eggs are a tricky format, try a source install from a tarball using setup.py, in case of doubt, grab distribute (which is a drop in enhanced replacement for setuptools) > > Did I miss out any important steps? Please advise. > currently i'm not aware of the platform limitations of python on android, it seems it has some slight differences from a normal linux python install (like the missing Makefile the egg complains about) Currently Holger and me don't own Android devices, so please keep us updated on your findings. -- Ronny > > Appreciate your help. > > > -JP > _______________________________________________ > py-dev mailing list > py-dev at codespeak.net > http://codespeak.net/mailman/listinfo/py-dev -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part URL: From holger at merlinux.eu Sat Aug 20 20:00:06 2011 From: holger at merlinux.eu (holger krekel) Date: Sat, 20 Aug 2011 18:00:06 +0000 Subject: [py-dev] pytest-2.1.1: assertion fixes and improved junitxml output Message-ID: <20110820180006.GO12151@merlinux.eu> pytest-2.1.1 is a backward compatible maintenance release of the popular py.test testing tool. See extensive docs with examples here: http://pytest.org/ Most bug fixes address remaining issues with the perfected assertions introduced with 2.1.0 - many thanks to the bug reporters and to Benjamin Peterson for helping to fix them. Also, junitxml output now produces system-out/err tags which lead to better displays of tracebacks with Jenkins. Also a quick note to package maintainers and others interested: there now is a "pytest" man page which can be generated with "make man" in doc/. If you want to install or upgrade pytest, just type one of:: pip install -U pytest # or easy_install -U pytest best, holger krekel / http://merlinux.eu Changes between 2.1.0 and 2.1.1 ---------------------------------------------- - fix issue64 / pytest.set_trace now works within pytest_generate_tests hooks - fix issue60 / fix error conditions involving the creation of __pycache__ - fix issue63 / assertion rewriting on inserts involving strings containing '%' - fix assertion rewriting on calls with a ** arg - don't cache rewritten modules if bytecode generation is disabled - fix assertion rewriting in read-only directories - fix issue59: provide system-out/err tags for junitxml output - fix issue61: assertion rewriting on boolean operations with 3 or more operands - you can now build a man page with "cd doc ; make man"