python310Packages.theano: Normalize attribute, pname, dirname
Also normalizes the overrides `theanoWithCuda` and `theanoWithoutCuda`.
This commit is contained in:
parent
daf490f1f9
commit
71d6e21670
3 changed files with 7 additions and 4 deletions
|
@ -48,7 +48,7 @@ let
|
|||
libgpuarray_ = libgpuarray.override { inherit cudaSupport cudaPackages; };
|
||||
|
||||
in buildPythonPackage rec {
|
||||
pname = "Theano";
|
||||
pname = "theano";
|
||||
version = "1.0.5";
|
||||
|
||||
disabled = isPyPy || pythonOlder "2.6" || (isPy3k && pythonOlder "3.3");
|
|
@ -258,6 +258,9 @@ mapAliases ({
|
|||
tensorflow-estimator_2 = tensorflow-estimator; # added 2021-11-25
|
||||
tensorflow-tensorboard = tensorboard; # added 2022-03-06
|
||||
tensorflow-tensorboard_2 = tensorflow-tensorboard; # added 2021-11-25
|
||||
Theano = theano; # added 2023-02-19
|
||||
TheanoWithCuda = theanoWithCuda; # added 2023-02-19
|
||||
TheanoWithoutCuda = theanoWithoutCuda; # added 2023-02-19
|
||||
tumpa = throw "tumpa was promoted to a top-level attribute"; # added 2022-11-19
|
||||
tvnamer = throw "tvnamer was moved to pkgs.tvnamer"; # added 2021-07-05
|
||||
types-cryptography = throw "types-cryptography has been removed because it is obsolete since cryptography version 3.4.4."; # added 2022-05-30
|
||||
|
|
|
@ -11443,17 +11443,17 @@ self: super: with self; {
|
|||
|
||||
theano-pymc = callPackage ../development/python-modules/theano-pymc { };
|
||||
|
||||
Theano = callPackage ../development/python-modules/Theano rec {
|
||||
theano = callPackage ../development/python-modules/theano rec {
|
||||
cudaSupport = pkgs.config.cudaSupport or false;
|
||||
cudnnSupport = cudaSupport;
|
||||
};
|
||||
|
||||
TheanoWithCuda = self.Theano.override {
|
||||
theanoWithCuda = self.theano.override {
|
||||
cudaSupport = true;
|
||||
cudnnSupport = true;
|
||||
};
|
||||
|
||||
TheanoWithoutCuda = self.Theano.override {
|
||||
theanoWithoutCuda = self.theano.override {
|
||||
cudaSupport = false;
|
||||
cudnnSupport = false;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue