Commits

Lukasz Balcerzak committed 8b6f18c

Updated documentation for development environment

  • Participants
  • Parent commits cd64bee

Comments (0)

Files changed (2)

    (including when installing the project sdist package).
 
 
+.. confval:: envdir
+
+   .. versionadded:: 1.5
+
+   User can set specific path for environment. If path would not be absolute it
+   would be treated as relative to ``{toxinidir}``. **default**:
+   ``{toxworkdir}/{envname}``
+
 Substitutions
 ---------------------
 

doc/example/devenv.txt

 what directory environment should be created. Moreover, we need to specify
 python version that should be picked::
 
-    [devenv]
+    [testenv:devenv]
     envdir = devenv
     basepython = python2.7
 
 Once ``devenv`` section is defined we can instrument tox to create our
 environment::
 
-    tox --devenv
+    tox -e devenv --envonly
 
-This will create an environment at path specified by ``envdir`` under ``devenv``
-section.
+This will create an environment at path specified by ``envdir`` under
+``[testenv:devenv]`` section.
 
 
 
 
 Here is example configuration for that::
 
-    [devenv]
+    [testenv:devenv]
     envdir = devenv
     changedir = devenv
     basepython = python2.7