Merge pull request #13118 from FRidh/buildPythonApplication

buildPythonApplication: function for building Python applications

+4 -1
+1
pkgs/top-level/all-packages.nix
··· 9161 9161 9162 9162 # python function with default python interpreter 9163 9163 buildPythonPackage = pythonPackages.buildPythonPackage; 9164 + buildPythonApplication = pythonPackages.buildPythonApplication; 9164 9165 9165 9166 # `nix-env -i python-nose` installs for 2.7, the default python. 9166 9167 # Therefore we do not recurse into attributes here, in contrast to
+3 -1
pkgs/top-level/python-packages.nix
··· 19 19 bootstrapped-pip = callPackage ../development/python-modules/bootstrapped-pip { }; 20 20 }); 21 21 22 + buildPythonApplication = args: buildPythonPackage ({namePrefix="";} // args ); 23 + 22 24 # Unique python version identifier 23 25 pythonName = 24 26 if isPy26 then "python26" else ··· 38 40 39 41 in modules // { 40 42 41 - inherit python isPy26 isPy27 isPy33 isPy34 isPy35 isPyPy isPy3k pythonName buildPythonPackage; 43 + inherit python isPy26 isPy27 isPy33 isPy34 isPy35 isPyPy isPy3k pythonName buildPythonPackage buildPythonApplication; 42 44 43 45 # helpers 44 46