Skip to content

Commit

Permalink
update docs and rework them to better fit readthedocs
Browse files Browse the repository at this point in the history
  • Loading branch information
hpk42 committed Jul 8, 2011
1 parent bf508ef commit cc9f3d8
Show file tree
Hide file tree
Showing 10 changed files with 59 additions and 63 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
1.1dev
1.1
-----------------

- fix issue5 - don't require argparse for python versions that have it
Expand All @@ -13,6 +13,7 @@
- inline virtualenv.py (1.6.1) script to avoid a number of issues,
particularly failing to install python3 environents from a python2
virtualenv installation.
- rework and enhance docs for display on readthedocs.org

1.0
-----------------
Expand Down
2 changes: 1 addition & 1 deletion doc/_static/sphinxdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ div.body {
}

div.related {
font-size: 1em;
font-size: 0.8em;
}

div.related ul {
Expand Down
22 changes: 0 additions & 22 deletions doc/_templates/layout.html
Original file line number Diff line number Diff line change
@@ -1,27 +1,5 @@
{% extends "!layout.html" %}

{% block relbar1 %}
{% endblock %}
{% block relbar2 %}
{% endblock %}

{% block rootrellink %}
{% endblock %}
{% block sidebarrel %}
{% endblock %}

{% block header %}
<div style="background-color: white; text-align: left; padding: 10px 10px 15px 15px">
<h1>tox: virtualenv-based automation of test activities</h1>
<div style="text-align: left; font-size: 130%; vertical-align: middle;">
<a href="{{ pathto('index') }}">home</a>&nbsp;|&nbsp;
<a href="{{ pathto('install') }}">install</a>&nbsp;|&nbsp;
<a href="{{ pathto('examples') }}">examples</a>&nbsp;|&nbsp;
<a href="{{ pathto('config') }}">config</a>&nbsp;|&nbsp;
<a href="{{ pathto('support') }}">support</a>&nbsp;
</div>
</div>
{% endblock %}

{% block footer %}
{{ super() }}
Expand Down
50 changes: 50 additions & 0 deletions doc/announce/release-1.1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
tox 1.1: the rapid multi-python test automatizer
===========================================================================

I am happy to announce tox 1.1, a bug fix release easing some commong
workflows. TOX automates tedious test activities driven from a simple
``tox.ini`` file, including:

* creation and management of different virtualenv environments with
different Python interpreters
* packaging and installing your package into each of them
* running your test tool of choice, be it nose, py.test or unittest2 or
other tools such as "sphinx" doc checks
* testing dev packages against each other without needing to upload to PyPI

It works well on virtually all Python interpreters that support virtualenv.

Docs and examples are at:

http://tox.readthedocs.org

Installation:

pip install -U tox

Note that code hosting and issue tracking has moved from Google to Bitbucket:

http://bitbucket.org/hpk42/tox

The 1.0 release includes contributions and is based on feedback and
work from Chris Rose, Ronny Pfannschmidt, Jannis Leidel, Jakob Kaplan-Moss,
Sridhar Ratnakumar, Carl Meyer and others. Many thanks!

best,
Holger Krekel

CHANGES
---------------------

- fix issue5 - don't require argparse for python versions that have it
- fix issue6 - recreate virtualenv if installing dependencies failed
- fix issue3 - fix example on frontpage
- fix issue2 - warn if a test command does not come from the test
environment
- fixed/enhanced: except for initial install always call "-U
--no-deps" for installing the sdist package to ensure that a package
gets upgraded even if its version number did not change. (reported on
TIP mailing list and IRC)
- inline virtualenv.py (1.6.1) script to avoid a number of issues,
particularly failing to install python3 environents from a python2
virtualenv installation.
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
#html_use_smartypants = True

# Custom sidebar templates, maps document names to template names.
html_sidebars = {'index': 'indexsidebar.html'}
#html_sidebars = {'index': 'indexsidebar.html'}

# Additional templates that should be rendered to pages, maps page names to
# template names.
Expand Down
30 changes: 1 addition & 29 deletions doc/index.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
Welcome to the tox automation project
===============================================

.. note::

Bug reports, feedback, contributions welcome: see :ref:`support`.

vision: merge testing and deployment
----------------------------------------

Expand Down Expand Up @@ -89,31 +85,6 @@ Current features

.. _pypy: http://pypy.org

Notes and known limitations
----------------------------------

* ``tox`` always operates in virtualenv_ environments, it cannot work with
globally installed Python interpreters because there are no reliable means
to install and recreate dependencies. Or does it still makes sense to
allow using global Python installations?

* ``tox`` is fresh on the Python testing scene (first release July 2010) and
needs some battle testing and feedback. It is is likely to evolve in
(possibly incompatible) increments as it provides more power to configure
and customize the test process.

* ``tox`` uses virtualenv_ and virtualenv5_, the latter being a fork
of virtualenv3_ which roughly works with Python3 but has less features
(no "pip" and other problems). This comes with limitations and you
may run into them when trying to create python3 based virtual environments.
IMO the proper solution is: virtualenv_ needs to merge
and grow proper native Python3 support, preferably in a "single-source" way.

* ``tox`` currently uses a ``setup.py sdist`` invocation to create
an installable package and then invokes ``pip`` or ``easy_install`` to
install into each test environment. There is no support for other
installation methods.

.. _`tox.ini`: :doc:configfile

.. toctree::
Expand All @@ -127,6 +98,7 @@ Notes and known limitations
links
announce/release-0.5
announce/release-1.0
announce/release-1.1


.. include:: links.txt
7 changes: 1 addition & 6 deletions doc/install.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
tox installation
==================================

.. note::

tox is alpha software and may have crucial platform-specific
or environment specific bugs. Use with care.

Install info in a nutshell
----------------------------------

**Pythons**: 2.4, 2.5, 2.6, 2.7, 3.0, 3.1.x, Jython-2.5.1, PyPy-trunk
**Pythons**: CPython 2.4-3.2, Jython-2.5.1, pypy-1.5

**Operating systems**: Linux, Windows, OSX, Unix

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def main():
description='virtualenv-based automation of test activities',
long_description=long_description,
url='http://codespeak.net/tox',
version='1.1.dev5',
version='1.1',
license='GPLv2 or later',
platforms=['unix', 'linux', 'osx', 'cygwin', 'win32'],
author='holger krekel',
Expand Down
2 changes: 1 addition & 1 deletion tox/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
__version__ = '1.1.dev5'
__version__ = '1.1'

class exception:
class Error(Exception):
Expand Down
2 changes: 1 addition & 1 deletion toxbootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"""

__version__ = '1.1.dev5'
__version__ = '1.1'

import sys
import os
Expand Down

0 comments on commit cc9f3d8

Please sign in to comment.