Closed mattip closed 2 years ago
We can try running that after installation.
How does a package ask conda to run something after installation?
What I mean is in the build.sh script at the make install
phase.
The directory mentioned above is in SRC_DIR
(working directory where the pypy source is located) and not the PREFIX
(install directory where pypy was installed in the build machine) installed. conda knows how to replace paths containing PREFIX
, but not SRC_DIR
thanks, I will try that out
The package to download has a
_sysconfigdata__*.py
file that captures the state at build time. This should be overwritten with information when the package is installed. For instance, the x86_64 downloaded package has'INCLUDEPY': '/home/conda/feedstock_root/build_artifacts/pypy3.8_1658434607149/work/pypy3/include/pypy3.8'
which is wrong once the package is installed. The CPython packages also have bogus paths, but these are somehow rewritten. The invocation to do this ispython -m sysconfig --generate-posix-vars
Is that somehow run for CPython at installation but not for PyPy?