Merge pull request #13533 from carlocab/python-install-lib
language/python: add `--install-lib` to `setup_install_args`
This commit is contained in:
commit
8dc46a7c47
@ -70,7 +70,7 @@ module Language
|
||||
quiet_system python, "-c", script
|
||||
end
|
||||
|
||||
def self.setup_install_args(prefix)
|
||||
def self.setup_install_args(prefix, python = "python3")
|
||||
shim = <<~PYTHON
|
||||
import setuptools, tokenize
|
||||
__file__ = 'setup.py'
|
||||
@ -84,6 +84,7 @@ module Language
|
||||
install
|
||||
--prefix=#{prefix}
|
||||
--install-scripts=#{prefix}/bin
|
||||
--install-lib=#{prefix/site_packages(python)}
|
||||
--single-version-externally-managed
|
||||
--record=installed.txt
|
||||
]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user