Rename PythonInstalled to PythonDependency.
Make it more consistent with other requirements.master
parent
3fb47bb1b3
commit
2ace1b6b86
|
@ -125,9 +125,9 @@ class Python < Formula
|
|||
# Symlink the prefix site-packages into the cellar.
|
||||
ln_s site_packages, site_packages_cellar
|
||||
|
||||
# We ship setuptools and pip and reuse the PythonInstalled
|
||||
# We ship setuptools and pip and reuse the PythonDependency
|
||||
# Requirement here to write the sitecustomize.py
|
||||
py = PythonInstalled.new("2.7")
|
||||
py = PythonDependency.new("2.7")
|
||||
py.binary = bin/'python'
|
||||
py.modify_build_environment
|
||||
|
||||
|
|
|
@ -138,9 +138,9 @@ class Python3 < Formula
|
|||
# Make sure homebrew symlinks it to HOMEBREW_PREFIX/bin.
|
||||
ln_s "#{bin}/python#{VER}", "#{bin}/python3" unless (bin/"python3").exist?
|
||||
|
||||
# We ship setuptools and pip and reuse the PythonInstalled
|
||||
# We ship setuptools and pip and reuse the PythonDependency
|
||||
# Requirement here to write the sitecustomize.py
|
||||
py = PythonInstalled.new(VER)
|
||||
py = PythonDependency.new(VER)
|
||||
py.binary = bin/"python#{VER}"
|
||||
py.modify_build_environment
|
||||
|
||||
|
|
Loading…
Reference in New Issue