about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorFrederik Rietdijk <freddyrietdijk@fridh.nl>2016-10-13 10:40:14 +0200
committerGitHub <noreply@github.com>2016-10-13 10:40:14 +0200
commitcffdffe1f679a4beaf99355d26d38b23879474d7 (patch)
treed640fe7549815fe0e545447a2c9503d04af398d8 /doc
parent727fc259d60e02ccfe70a25120caa161a9afbda7 (diff)
parent1e544b2993a6aff0b60dd24f47258ebcccba9697 (diff)
downloadnixlib-cffdffe1f679a4beaf99355d26d38b23879474d7.tar
nixlib-cffdffe1f679a4beaf99355d26d38b23879474d7.tar.gz
nixlib-cffdffe1f679a4beaf99355d26d38b23879474d7.tar.bz2
nixlib-cffdffe1f679a4beaf99355d26d38b23879474d7.tar.lz
nixlib-cffdffe1f679a4beaf99355d26d38b23879474d7.tar.xz
nixlib-cffdffe1f679a4beaf99355d26d38b23879474d7.tar.zst
nixlib-cffdffe1f679a4beaf99355d26d38b23879474d7.zip
Merge pull request #19309 from FRidh/outputs
Python: use separate output for tkinter
Diffstat (limited to 'doc')
-rw-r--r--doc/languages-frameworks/python.md25
1 files changed, 5 insertions, 20 deletions
diff --git a/doc/languages-frameworks/python.md b/doc/languages-frameworks/python.md
index e7dbe3bd7db0..f9a8f38af3db 100644
--- a/doc/languages-frameworks/python.md
+++ b/doc/languages-frameworks/python.md
@@ -416,29 +416,14 @@ aliases `python` and `python3` correspond to respectively `python27` and
 `python35`. The Nix expressions for the interpreters can be found in
 `pkgs/development/interpreters/python`.
 
-
-#### Missing modules standard library
-
-The interpreters `python26` and `python27` do not include modules that
-require external dependencies. This is done in order to reduce the closure size.
-The following modules need to be added as `buildInput` explicitly:
-
-* `python.modules.bsddb`
-* `python.modules.curses`
-* `python.modules.curses_panel`
-* `python.modules.crypt`
-* `python.modules.gdbm`
-* `python.modules.sqlite3`
-* `python.modules.tkinter`
-* `python.modules.readline`
-
-For convenience `python27Full` and `python26Full` are provided with all
-modules included.
-
 All packages depending on any Python interpreter get appended
 `out/{python.sitePackages}` to `$PYTHONPATH` if such directory
 exists.
 
+#### Missing `tkinter` module standard library
+
+To reduce closure size the `Tkinter`/`tkinter` is put in a separate output. The `tkinter` is available as `python35Packages.tkinter`.
+
 #### Attributes on interpreters packages
 
 Each interpreter has the following attributes:
@@ -448,7 +433,7 @@ Each interpreter has the following attributes:
 - `buildEnv`. Function to build python interpreter environments with extra packages bundled together. See section *python.buildEnv function* for usage and documentation.
 - `withPackages`. Simpler interface to `buildEnv`. See section *python.withPackages function* for usage and documentation.
 - `sitePackages`. Alias for `lib/${libPrefix}/site-packages`.
-- `executable`. Name of the interpreter executable, ie `python3.4`.
+- `executable`. Name of the interpreter executable, e.g. `python3.4`.
 
 ### Building packages and applications