From 4d3cdec55f873e89942dbe59b9fb0618aa3bc474 Mon Sep 17 00:00:00 2001 From: holger krekel Date: Sun, 17 Oct 2010 12:03:43 +0200 Subject: changed/refined indexserver handling, now dependencies can be scoped, see added docs. --- doc/example/basic.txt | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'doc/example/basic.txt') diff --git a/doc/example/basic.txt b/doc/example/basic.txt index f46b401..c3b4de6 100644 --- a/doc/example/basic.txt +++ b/doc/example/basic.txt @@ -51,13 +51,35 @@ using a different PyPI server .. versionadded: 0.9 To install dependencies and packages from a different -PyPI servertype:: +PyPI server type:: tox --indexserver http://pypi.testrun.org This causes both the internal pip and easy-install steps to use the specified server for upgrading. +installing dependencies from multiple PyPI server +--------------------------------------------------- + +.. versionadded: 0.9 + +You can instrument tox to install dependencies from +different PyPI servers, example:: + + [tox] + indexserver = + DEV http://mypypiserver.org + + [testenv] + deps = + docutils # comes from standard PyPI + DEV mypackage # will come from custom PYPI above + +Note that the ``--indexserver`` command line overrides +the default index server, not the ``DEV`` one here. +This will cause both the internal pip and easy-install steps +to use the specified servers accordingly. + upgrading packages ----------------------------------------------- -- cgit v1.2.1