mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Replace setup.py install with pip install (#156711)
#156027 already replaced most use of `python setup.py install`. This PR only adds a few more occurrences and adds `--no-build-isolation` in a few places. Pull Request resolved: https://github.com/pytorch/pytorch/pull/156711 Approved by: https://github.com/atalman
This commit is contained in:
committed by
PyTorch MergeBot
parent
92284fb2ff
commit
fa54b08cd5
@ -148,7 +148,8 @@ class TestCppExtensionAOT(common.TestCase):
|
||||
|
||||
@unittest.skipIf(IS_WINDOWS, "Not available on Windows")
|
||||
def test_no_python_abi_suffix_sets_the_correct_library_name(self):
|
||||
# For this test, run_test.py will call `python -m pip install .` in the
|
||||
# For this test, run_test.py will call
|
||||
# `python -m pip install . -v --no-build-isolation` in the
|
||||
# cpp_extensions/no_python_abi_suffix_test folder, where the
|
||||
# `BuildExtension` class has a `no_python_abi_suffix` option set to
|
||||
# `True`. This *should* mean that on Python 3, the produced shared
|
||||
|
Reference in New Issue
Block a user