manual changes
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
#
|
||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||
|
||||
import os
|
||||
|
||||
from spack.package import *
|
||||
|
||||
|
||||
@@ -85,3 +87,9 @@ class PyDocutils(PythonPackage):
|
||||
# NOTE: This creates symbolic links to be able to run docutils scripts
|
||||
# without .py file extension similarly to various linux distributions to
|
||||
# increase compatibility with other packages
|
||||
@run_after("install")
|
||||
def post_install(self):
|
||||
bin_path = self.prefix.bin
|
||||
for file in os.listdir(bin_path):
|
||||
if file.endswith(".py"):
|
||||
os.symlink(os.path.join(bin_path, file), os.path.join(bin_path, file[:-3]))
|
||||
|
@@ -49,4 +49,4 @@ class PySetuptoolsRust(PythonPackage):
|
||||
depends_on("py-toml@0.9:", when="@:0")
|
||||
depends_on("py-typing-extensions@3.7.4.3:", when="@1:1.7")
|
||||
|
||||
# Historical dependencies
|
||||
depends_on("rust", type="run")
|
||||
|
@@ -6,7 +6,7 @@
|
||||
from spack.package import *
|
||||
|
||||
|
||||
class PyTensorflowProbability(Package):
|
||||
class PyTensorflowProbability(PythonPackage):
|
||||
"""TensorFlow Probability (TFP) is a Python library built on
|
||||
TensorFlow that makes it easy to combine probabilistic models and
|
||||
deep learning on modern hardware (TPU, GPU). It's for data
|
||||
|
Reference in New Issue
Block a user