summaryrefslogtreecommitdiff
path: root/Build/source/texk
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-07-14 22:39:29 +0000
committerKarl Berry <karl@freefriends.org>2014-07-14 22:39:29 +0000
commit91e62921c8f6d17fb3a1b701c0b5f99cfeadd408 (patch)
tree8ba1865818a69de5220113ae92b7c54f849fb5f3 /Build/source/texk
parent5dae7a4d678252feb9eda590f0c6a547a5bcc4d9 (diff)
pythontex (14jul14)
git-svn-id: svn://tug.org/texlive/trunk@34605 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk')
-rwxr-xr-xBuild/source/texk/texlive/linked_scripts/pythontex/depythontex.py11
-rwxr-xr-xBuild/source/texk/texlive/linked_scripts/pythontex/pythontex.py12
2 files changed, 18 insertions, 5 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/pythontex/depythontex.py b/Build/source/texk/texlive/linked_scripts/pythontex/depythontex.py
index 013e268241f..2aae645084f 100755
--- a/Build/source/texk/texlive/linked_scripts/pythontex/depythontex.py
+++ b/Build/source/texk/texlive/linked_scripts/pythontex/depythontex.py
@@ -1,10 +1,15 @@
+#!/usr/bin/env python
# -*- coding: utf-8 -*-
+
'''
-This is the PythonTeX wrapper script. It automatically detects the version
+This is the depythontex wrapper script. It automatically detects the version
of Python, and then imports the correct code from depythontex2.py or
-depythontex3.py.
+depythontex3.py. It is intended for use with the default Python installation
+on your system. If you wish to use a different version of Python, you could
+launch depythontex2.py or depythontex3.py directly. The version of Python
+does not matter for depythontex, since no code is executed.
-Copyright (c) 2013, Geoffrey M. Poore
+Copyright (c) 2013-2014, Geoffrey M. Poore
All rights reserved.
Licensed under the BSD 3-Clause License:
http://www.opensource.org/licenses/BSD-3-Clause
diff --git a/Build/source/texk/texlive/linked_scripts/pythontex/pythontex.py b/Build/source/texk/texlive/linked_scripts/pythontex/pythontex.py
index 1be1f6d70ea..68814f54884 100755
--- a/Build/source/texk/texlive/linked_scripts/pythontex/pythontex.py
+++ b/Build/source/texk/texlive/linked_scripts/pythontex/pythontex.py
@@ -4,11 +4,19 @@
'''
This is the PythonTeX wrapper script. It automatically detects the version
of Python, and then imports the correct code from pythontex2.py or
-pythontex3.py.
+pythontex3.py. It is intended for use with the default Python installation
+on your system. If you wish to use a different version of Python, you could
+launch pythontex2.py or pythontex3.py directly. You should also consider the
+command-line option `--interpreter`. This allows you to specify the command
+that is actually used to execute the code from your LaTeX documents. Except
+for Python console content, it doesn't matter which version of Python is used
+to launch pythontex.py; pythontex.py just manages the execution of code from
+your LaTeX document. The interpreter setting is what determines the version
+under which your code is actually executed.
Licensed under the BSD 3-Clause License:
-Copyright (c) 2012-2013, Geoffrey M. Poore
+Copyright (c) 2012-2014, Geoffrey M. Poore
All rights reserved.