more build stuff

This commit is contained in:
Tim Cuthbertson
2013-08-14 09:22:10 +10:00
parent cf33b250a6
commit 377b140c1d
5 changed files with 127 additions and 169 deletions

2
pypi.do Normal file
View File

@@ -0,0 +1,2 @@
exec >&2
./setup.py register sdist upload

2
rednose.dist Normal file
View File

@@ -0,0 +1,2 @@
setup.py
rednose.py

View File

@@ -1,169 +0,0 @@
<?xml version="1.0"?>
<?xml-stylesheet type='text/xsl' href='interface.xsl'?>
<interface xmlns="http://zero-install.sourceforge.net/2004/injector/interface" uri="http://gfxmonk.net/dist/0install/rednose.xml">
<name>rednose</name>
<summary>coloured output for nosetests</summary>
<description>
=========
rednose
=========
rednose is a `nosetests`_
plugin for adding colour (and readability) to nosetest console results.
Installation:
-------------
::
easy_install rednose
or from the source::
./setup.py develop
Usage:
------
::
nosetests --rednose
or::
export NOSE_REDNOSE=1
nosetests
Rednose by default uses auto-colouring, which will only use
colour if you're running it on a terminal (i.e not piping it
to a file). To control colouring, use one of::
nosetests --rednose --force-color
nosetests --no-color
(you can also control this by setting the environment variable NOSE_REDNOSE_COLOR to 'force' or 'no')
.. _nosetests: http://somethingaboutorange.com/mrl/projects/nose/
</description>
<pypi-extra xmlns="http://gfxmonk.net/dist/0install"><![CDATA[
classifiers=[
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Testing",
],
keywords='test nosetests nose nosetest output colour console',
license='BSD',
]]></pypi-extra>
<rich-description xmlns="http://gfxmonk.net/dist/0install">
<div xmlns="http://www.w3.org/1999/xhtml">
<h1 id="rednose">rednose</h1>
<p>rednose is a <a href="http://somethingaboutorange.com/mrl/projects/nose/">nosetests</a> plugin for adding colour (and readability) to nosetest console results.</p>
<h2 id="installation">Installation:</h2>
<pre>
<code>easy_install rednose
</code>
</pre>
<p>or from the source:</p>
<pre>
<code>./setup.py develop
</code>
</pre>
<h2 id="usage">Usage:</h2>
<pre>
<code>nosetests --rednose
</code>
</pre>
<p>or:</p>
<pre>
<code>export NOSE_REDNOSE=1
nosetests
</code>
</pre>
<p>Rednose by default uses auto-colouring, which will only use colour if you're running it on a terminal (i.e not piping it to a file). To control colouring, use one of:</p>
<pre>
<code>nosetests --rednose --force-color
nosetests --no-color
</code>
</pre>
<p>(you can also control this by setting the environment variable NOSE_REDNOSE_COLOR to 'force' or 'no')</p>
</div>
</rich-description>
<group>
<environment name="NOSETESTS_PLUGINS" value="rednose/RedNose"/>
<environment name="NOSE_REDNOSE" value="1"/>
<environment insert="" name="PYTHONPATH"/>
<command name="run">
<runner interface="http://gfxmonk.net/dist/0install/nosetests-runner.xml"/>
</command>
<requires interface="http://repo.roscidus.com/python/python">
<version before="3"/>
</requires>
<command name="test">
<runner command="core" interface="http://gfxmonk.net/dist/0install/nosetests-runner.xml"/>
</command>
<requires interface="http://gfxmonk.net/dist/0install/python-termstyle.xml">
<version not-before="0.1.7"/>
</requires>
<implementation id="sha1new=32575e1a6400861b553f094acf96931a56b153ac" released="2011-01-30" version="0.2.1">
<manifest-digest sha256="3a2714e3a75645693cc601cf4b89e90cb0fc71d759818efa846d13a773be3421"/>
<archive href="http://gfxmonk.net/dist/0install/rednose/rednose-0.2.1.tgz" size="9531"/>
</implementation>
<implementation id="sha1new=e8fe3cc7547eb3ede16f4f7382f390b13101215c" released="2011-02-14" version="0.2.2">
<manifest-digest sha256="a4d3b8889739ba33646a2f1f081c1163e25cf0c988f25d2467616ffb9b806d2f"/>
<archive href="http://gfxmonk.net/dist/0install/rednose/rednose-0.2.2.tgz" size="9602"/>
</implementation>
<implementation id="sha1new=ae8d122743776a29f43e2aa8af55be7635fd5d8b" released="2011-03-16" version="0.2.3">
<manifest-digest sha256="b380f5cc1cdd283551a88cdd6fe2afc53751e51c897d21811fc59f9f152509ce"/>
<archive href="http://gfxmonk.net/dist/0install/rednose/rednose-0.2.3.tgz" size="4397"/>
</implementation>
<implementation id="sha1new=399f1e2c0d5e184ff694b2b41e46cf97869813ed" released="2011-06-18" version="0.2.4">
<manifest-digest sha256="8c24dd0f65abbc344456d9770a496073d52084536e97201b87ace6d35f69bb15"/>
<archive href="http://gfxmonk.net/dist/0install/rednose/rednose-0.2.4.tgz" size="4453"/>
</implementation>
<implementation id="sha1new=2a6d0422b43e8662f5704dc1afcd6711a9a2fa68" released="2011-08-08" version="0.2.5">
<manifest-digest sha256="88b38f2ddb0dc32063fb2d0688b4027f706dbb94fd0a8babe98c315f3c116a2d"/>
<archive href="http://gfxmonk.net/dist/0install/rednose/rednose-0.2.5.tgz" size="4448"/>
</implementation>
<implementation id="sha1new=4b550ab1a44e99c13b2188975bb43610f31930e6" released="2011-12-04" version="0.2.6">
<manifest-digest sha256="161330d4b8a3bfdaf112eacf7b2bd38655efdfdd4f08a677fdd1d0a9c1f8664b"/>
<archive href="http://gfxmonk.net/dist/0install/rednose/rednose-0.2.6.tgz" size="4525"/>
</implementation>
<implementation id="sha1new=77da18086b4ef99138d18b916e0174d10ca01a46" released="2012-02-22" version="0.3">
<manifest-digest sha256="e8a8269eb74f2563f4de9fc0e990d93b3c494731ac78c1fd04bddb7d61ed592c"/>
<archive href="http://gfxmonk.net/dist/0install/rednose/rednose-0.3.tgz" size="5071"/>
</implementation>
<implementation id="sha1new=9352b49dce2da0f147ded844df275585d0ede32e" released="2012-03-11" version="0.3.1">
<manifest-digest sha256="f9a1a3baf1d4d9ff5be03fb6de34dcfbc3d97213ac801bbda4da4c96a03d5d5a"/>
<archive href="http://gfxmonk.net/dist/0install/rednose/rednose-0.3.1.tgz" size="5081"/>
</implementation>
</group>
<group>
<environment name="NOSETESTS_PLUGINS" value="rednose/RedNose"/>
<environment name="NOSE_REDNOSE" value="1"/>
<environment insert="" name="PYTHONPATH"/>
<command name="run">
<runner interface="http://gfxmonk.net/dist/0install/nosetests-runner.xml"/>
</command>
<command name="core">
<runner interface="http://gfxmonk.net/dist/0install/nosetests-runner.xml" command="core"/>
</command>
<command name="test">
<runner interface="http://gfxmonk.net/dist/0install/nosetests-runner.xml"/>
<arg>--plugin-opt=-v</arg>
</command>
<requires interface="http://repo.roscidus.com/python/python"/>
<requires interface="http://gfxmonk.net/dist/0install/python-termstyle.xml">
<version not-before="0.1.7"/>
</requires>
<implementation id="sha1new=4effffd7483aeba58ff4faea9382be9d498cb18e" released="2012-03-12" version="0.3.2">
<manifest-digest sha256="bacfe48742394f3819f0579ace271661ac3be8ea6971c1fbf2a3a9588adfb041"/>
<archive href="http://gfxmonk.net/dist/0install/rednose/rednose-0.3.2.tgz" size="5150"/>
</implementation>
<implementation id="sha1new=ed1c89647e9ff1d20671b3339a7d4ccad5843d65" released="2012-06-04" version="0.3.3">
<manifest-digest sha256="bb80a3c47ff3ad027ae4ad7668ba9cedade7fe635cea6ca761860b2ee6c2743a"/>
<archive href="http://gfxmonk.net/dist/0install/rednose/rednose-0.3.3.tgz" size="5189"/>
</implementation>
</group>
</interface>

117
rednose.xml.template Normal file
View File

@@ -0,0 +1,117 @@
<?xml version="1.0"?>
<?xml-stylesheet type='text/xsl' href='interface.xsl'?>
<interface xmlns="http://zero-install.sourceforge.net/2004/injector/interface">
<name>rednose</name>
<summary>coloured output for nosetests</summary>
<feed-for interface="http://gfxmonk.net/dist/0install/rednose.xml"/>
<description>
=========
rednose
=========
rednose is a `nosetests`_
plugin for adding colour (and readability) to nosetest console results.
Installation:
-------------
::
easy_install rednose
or from the source::
./setup.py develop
Usage:
------
::
nosetests --rednose
or::
export NOSE_REDNOSE=1
nosetests
Rednose by default uses auto-colouring, which will only use
colour if you're running it on a terminal (i.e not piping it
to a file). To control colouring, use one of::
nosetests --rednose --force-color
nosetests --no-color
(you can also control this by setting the environment variable NOSE_REDNOSE_COLOR to 'force' or 'no')
.. _nosetests: http://somethingaboutorange.com/mrl/projects/nose/
</description>
<pypi-extra xmlns="http://gfxmonk.net/dist/0install"><![CDATA[
classifiers=[
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Testing",
],
keywords='test nosetests nose nosetest output colour console',
license='BSD',
]]></pypi-extra>
<rich-description xmlns="http://gfxmonk.net/dist/0install">
<div xmlns="http://www.w3.org/1999/xhtml">
<h1 id="rednose">rednose</h1>
<p>rednose is a <a href="http://somethingaboutorange.com/mrl/projects/nose/">nosetests</a> plugin for adding colour (and readability) to nosetest console results.</p>
<h2 id="installation">Installation:</h2>
<pre>
<code>easy_install rednose
</code>
</pre>
<p>or from the source:</p>
<pre>
<code>./setup.py develop
</code>
</pre>
<h2 id="usage">Usage:</h2>
<pre>
<code>nosetests --rednose
</code>
</pre>
<p>or:</p>
<pre>
<code>export NOSE_REDNOSE=1
nosetests
</code>
</pre>
<p>Rednose by default uses auto-colouring, which will only use colour if you're running it on a terminal (i.e not piping it to a file). To control colouring, use one of:</p>
<pre>
<code>nosetests --rednose --force-color
nosetests --no-color
</code>
</pre>
<p>(you can also control this by setting the environment variable NOSE_REDNOSE_COLOR to 'force' or 'no')</p>
</div>
</rich-description>
<group>
<environment name="NOSETESTS_PLUGINS" value="rednose/RedNose"/>
<environment name="NOSE_REDNOSE" value="1"/>
<environment insert="" name="PYTHONPATH"/>
<command name="run">
<runner interface="http://gfxmonk.net/dist/0install/nosetests-runner.xml"/>
</command>
<command name="core">
<runner interface="http://gfxmonk.net/dist/0install/nosetests-runner.xml" command="core"/>
</command>
<command name="test">
<runner interface="http://gfxmonk.net/dist/0install/nosetests-runner.xml" command="core"/>
<arg>-v</arg>
</command>
<requires interface="http://repo.roscidus.com/python/python"/>
<requires interface="http://gfxmonk.net/dist/0install/python-termstyle.xml">
<version not-before="0.1.7"/>
</requires>
<implementation version="{version}" released="{date}">
<manifest-digest/>
<archive href="{archive}"/>
</implementation>
</group>
</interface>

6
test.do Normal file
View File

@@ -0,0 +1,6 @@
exec >&2
redo-ifchange rednose-local.xml
0launch http://0install.net/2008/interfaces/0test.xml \
rednose-local.xml \
http://repo.roscidus.com/python/python \
2.6,2.8 3.0,4