mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 20:25:32 +03:00
doc/languages-frameworks/python: clean up build-system
add setuptools explicitly and remove wheel
This commit is contained in:
parent
1c90c05bbc
commit
1b4462bb0c
1 changed files with 3 additions and 12 deletions
|
@ -78,6 +78,7 @@ The following is an example:
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
|
|
||||||
# build-system
|
# build-system
|
||||||
|
, setuptools
|
||||||
, setuptools-scm
|
, setuptools-scm
|
||||||
|
|
||||||
# dependencies
|
# dependencies
|
||||||
|
@ -107,6 +108,7 @@ buildPythonPackage rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
build-system = [
|
build-system = [
|
||||||
|
setuptools
|
||||||
setuptools-scm
|
setuptools-scm
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -294,7 +296,6 @@ python3Packages.buildPythonApplication rec {
|
||||||
|
|
||||||
build-system = with python3Packages; [
|
build-system = with python3Packages; [
|
||||||
setuptools
|
setuptools
|
||||||
wheel
|
|
||||||
];
|
];
|
||||||
|
|
||||||
dependencies = with python3Packages; [
|
dependencies = with python3Packages; [
|
||||||
|
@ -831,7 +832,6 @@ building Python libraries is [`buildPythonPackage`](#buildpythonpackage-function
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, setuptools
|
, setuptools
|
||||||
, wheel
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -846,7 +846,6 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
build-system = [
|
build-system = [
|
||||||
setuptools
|
setuptools
|
||||||
wheel
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# has no tests
|
# has no tests
|
||||||
|
@ -905,7 +904,6 @@ with import <nixpkgs> {};
|
||||||
|
|
||||||
build-system = [
|
build-system = [
|
||||||
python311.pkgs.setuptools
|
python311.pkgs.setuptools
|
||||||
python311.pkgs.wheel
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# has no tests
|
# has no tests
|
||||||
|
@ -958,7 +956,7 @@ order to build [`datashape`](https://github.com/blaze/datashape).
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
|
|
||||||
# build dependencies
|
# build dependencies
|
||||||
, setuptools, wheel
|
, setuptools
|
||||||
|
|
||||||
# dependencies
|
# dependencies
|
||||||
, numpy, multipledispatch, python-dateutil
|
, numpy, multipledispatch, python-dateutil
|
||||||
|
@ -979,7 +977,6 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
build-system = [
|
build-system = [
|
||||||
setuptools
|
setuptools
|
||||||
wheel
|
|
||||||
];
|
];
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
|
@ -1016,7 +1013,6 @@ when building the bindings and are therefore added as [`buildInputs`](#var-stden
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, setuptools
|
, setuptools
|
||||||
, wheel
|
|
||||||
, libxml2
|
, libxml2
|
||||||
, libxslt
|
, libxslt
|
||||||
}:
|
}:
|
||||||
|
@ -1033,7 +1029,6 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
build-system = [
|
build-system = [
|
||||||
setuptools
|
setuptools
|
||||||
wheel
|
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -1076,7 +1071,6 @@ therefore we have to set `LDFLAGS` and `CFLAGS`.
|
||||||
|
|
||||||
# build dependencies
|
# build dependencies
|
||||||
, setuptools
|
, setuptools
|
||||||
, wheel
|
|
||||||
|
|
||||||
# dependencies
|
# dependencies
|
||||||
, fftw
|
, fftw
|
||||||
|
@ -1098,7 +1092,6 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
build-system = [
|
build-system = [
|
||||||
setuptools
|
setuptools
|
||||||
wheel
|
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -1465,7 +1458,6 @@ We first create a function that builds `toolz` in `~/path/to/toolz/release.nix`
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, setuptools
|
, setuptools
|
||||||
, wheel
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -1480,7 +1472,6 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
build-system = [
|
build-system = [
|
||||||
setuptools
|
setuptools
|
||||||
wheel
|
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue