parent
deff2feda7
commit
e703ed3040
1 changed files with 6 additions and 0 deletions
|
@ -87,6 +87,12 @@ class Pypy < Formula
|
|||
prefix_site_packages.mkpath
|
||||
|
||||
# Symlink the prefix site-packages into the cellar.
|
||||
if !(libexec/"site-packages").symlink?
|
||||
# fix the case where libexec/site-packages/site-packages was installed
|
||||
rm_rf libexec/"site-packages/site-packages"
|
||||
mv Dir[libexec/"site-packages/*"], prefix_site_packages
|
||||
rm_rf libexec/"site-packages"
|
||||
end
|
||||
libexec.install_symlink prefix_site_packages
|
||||
|
||||
# Tell distutils-based installers where to put scripts
|
||||
|
|
Loading…
Reference in a new issue