Rename PythonInstalled to PythonDependency.

Make it more consistent with other requirements.
master
Mike McQuaid 2013-09-14 11:49:54 +01:00
parent 3fb47bb1b3
commit 2ace1b6b86
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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