depends_on :python => 'module' allow user packages
Some prefer to install with `--user` into their home. For example to avoid `sudo` with system's python. Now Homebrew can use those modules to satisfy a python dependency on a certain module.
This commit is contained in:
parent
fbaf8a5968
commit
215b584c3b
@ -258,7 +258,6 @@ class PythonInstalled < Requirement
|
|||||||
ENV.prepend 'PATH', binary.dirname, ':' unless from_osx?
|
ENV.prepend 'PATH', binary.dirname, ':' unless from_osx?
|
||||||
|
|
||||||
ENV['PYTHONHOME'] = nil # to avoid fuck-ups.
|
ENV['PYTHONHOME'] = nil # to avoid fuck-ups.
|
||||||
ENV['PYTHONNOUSERSITE'] = '1'
|
|
||||||
ENV['PYTHONPATH'] = global_site_packages.to_s unless brewed?
|
ENV['PYTHONPATH'] = global_site_packages.to_s unless brewed?
|
||||||
# Python respects the ARCHFLAGS var if set. Shall we set them here?
|
# Python respects the ARCHFLAGS var if set. Shall we set them here?
|
||||||
# ENV['ARCHFLAGS'] = ??? # FIXME
|
# ENV['ARCHFLAGS'] = ??? # FIXME
|
||||||
|
Loading…
x
Reference in New Issue
Block a user