summaryrefslogtreecommitdiffstats
path: root/doc/languages-frameworks/python.section.md
AgeCommit message (Collapse)Author
2019-07-15buildPythonPackage: add support for setupPyGlobalFlags (2)Frederik Rietdijk
2019-07-13Revert "buildPythonPackage: add support for setupPyDistFlags"Frederik Rietdijk
I merged this a bit too quick. We need to have a closer look at it. See the points brought up in https://github.com/NixOS/nixpkgs/pull/64682. This reverts commit 1e0ebdb8a4fe94db67b6520225d325292d60247c.
2019-07-13buildPythonPackage: add support for setupPyDistFlagsKirill Boltaev
Flags passed to the "python setup.py" command.
2019-07-05Docs Python: fix example on how to override the package setFrederik Rietdijk
Not passing in the newly created interpreter as `self` results in an incorrect `passthru`. Solves #64334.
2019-05-15Add documentation for recent permitUserSite change (#61502)Tom McLaughlin
2019-04-25doc: fix syntax error in python documentationLinus Heckemann
2019-04-23python-docs: typocdyson37
2019-04-22treewide: Change URLs to HTTPSDaniel Schaefer
Lots of URLs were HTTP redirect to HTTPS. Changed those and checked them if there's actual content. Inspired by https://github.com/NixOS/nixpkgs/issues/60004
2019-03-24fix Including a derivation using callPackageworldofpeace
The example didn't use pkgs.
2019-03-24fixup! doc/python: cleanup examples, referencesworldofpeace
2019-03-22doc/python: cleanup examples, referencesworldofpeace
2019-03-22doc/python: remove unnecessary let statementFelix Biggs
2019-02-23buildPythonPackage: always export `LANG=C.UTF-8`Frederik Rietdijk
2019-02-23buildPythonPackage: initial support for PEP 517Frederik Rietdijk
2019-02-17buildPython*: enable strictDepsFrederik Rietdijk
2018-12-19mkl: include Intel's libiomp.so in the MKL RPM unpackBenjamin Hipple
Since Intel's default openmp implementation is available in the same src tarball, we can just include it in the package. This means that `mkl` now "just works" without any environment variables, fragile setup-hooks, or forced propagation. Since the openmp implementation is only needed at runtime (and for test cases), users can substitute a different one if they prefer by exporting it with `LD_PRELOAD`, which is how Intel recommends handling this. If they do not do so, `libiomp.so` lives next to `libmkl_rt.so` and thus will be in the RPATH as a sane default. Since this still comes from the same src tarball, we can ship it without losing the fixed-output derivation; likewise, since Hydra is not building or caching these, shipping these proprietary packages costs no bandwidth for the nix community.
2018-12-19pypy3: init at 6.0.0Anders Kaseorg
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2018-11-11Merge master into staging-nextFrederik Rietdijk
2018-11-10doc: fix default python interpreterBenjamin Hipple
The default for `python3` is currently `python36`.
2018-11-10Merge master into staging-nextFrederik Rietdijk
2018-11-04python34: removeFrederik Rietdijk
Python 3.4 will receive it's final patch release in March 2019 and there won't be any releases anymore after that, so also not during NixOS 2019.03. Python 3.4 is not used anymore in Nixpkgs. In any case, migrating code from 3.4 to 3.4+ is trivial.
2018-11-02Merge branch 'master' into stagingVladimír Čunát
Conflict: rename of pythondaemon -> python-daemon.
2018-10-30pythonPackages.pythondaemon: rename to pythonPackages.python-daemonBenjamin Hipple
This commit renames the pythondaemon module to match its module name, github name, and pypi name, which makes it easier to find and reference. In order to avoid breaking any external users, I've left an alias with a deprecated warning.
2018-10-24python3 is now python37 instead of python36Frederik Rietdijk
With Python 3.7 now at 3.7.1, and Python 3.6 at it's final maintenance mode release, it is time to move on to 3.7 as the default interpreter.
2018-10-20pythonPackages.{numpy,scipy,numexpr}: support MKL as BLASChris Ostrouchov
This adds support building with MKL.
2018-10-12Update with code review feedback; add example python applicationBenjamin Hipple
2018-10-12python: update documentationBenjamin Hipple
This touches up a handful of places in the python documentation to try to make the current best-practices more obvious. In particular, I often find the function signatures (what to pass, what not to pass) confusing and have added them to the docs. Also updated the metas to be more consistent with the most frequently used modern style.
2018-08-31docs/python: fix attribute naming exampleJörg Thalheim
https://github.com/NixOS/nixpkgs/pull/45822#issuecomment-417566642
2018-08-31doc/python: convention for attributes namesJörg Thalheim
cc @FRidh, @dotlambda
2018-08-26docs python: `python.buildEnv` does not include `buildPythonApplication` modulesFrederik Rietdijk
Clarify the issue encountered at https://github.com/NixOS/nixpkgs/issues/45503
2018-07-26python-docs: minor typo and grammar fixesErik Arvstedt
2018-07-25python-docs: fix override examplesErik Arvstedt
Use example package `zerobin` instead of `bepasty-server` which is no longer part of python-packages. This fixes the examples for current nixpkgs versions.
2018-07-25python docs: improve override exampleErik Arvstedt
1. Use the same approach like in the overlay example: Override `python` instead of `pythonPackages` so that `python.pkgs` refers to the new package set like `pythonPackages`. This also fixes a bug in the original example where `pkgs.fetchgit` was not in scope. Add an extra example to illustrate how to override just a package set. 2. Fix mix-up between `super` and `self` in the explanation text. Also, simplify the explanation.
2018-07-25python docs: improve overlay exampleErik Arvstedt
The `pythonPackages` definition is redundant
2018-07-03manual: fix buildPythonPackage example (#42866)Alyssa Ross
2018-06-30Update Python documentation overlay Matthew Pickering
Using a recursive attribute set is not recommended.
2018-06-29treewide: http -> httpsRyan Mulligan
2018-06-27treewide: http -> https (#42665)Ryan Mulligan
2018-06-25python37: init at 3.7.0rc1Frederik Rietdijk
2018-06-11doc/languages-frameworks/python.section.md: fix typo (#41824)Rolf Schröder
2018-05-30Docs: improve Python sectionFrederik Rietdijk
Explain `toPythonApplication` and `toPythonModule` as well as some minor improvements.
2018-04-19tree-wide: fix instance of "meta.maintainer" -> "meta.maintainers"Will Dietz
Encountered one of these when using check-meta, did a quick search to find other instances.
2018-03-25Move all nixpkgs doc files in to the doc directoryGraham Christensen
This makes a makefile-driven developer workflow nicer.