You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace easy_install by pip install to fix CI for MacOS (meta-pytorch#951)
Summary:
Fixesmeta-pytorch#948
### Changes
- To fix MacOS CI, uses `pip install .` or `pip install -e .` to replace `python setup.py install` or `python setup.py develop`
- `pip install` would use an isolated environment to prevent the problem in our CI
- Add `ninja` to [`pyproject.toml`](https://github.com/pytorch/data/blob/main/pyproject.toml) to make sure CMake works properly using `pip install`
- Easy install is deprecated https://setuptools.pypa.io/en/latest/deprecated/easy_install.html#easy-install
- Change documents to advocate `pip install` rather than `python setup.py`
Pull Request resolved: meta-pytorch#951
Reviewed By: NivekT
Differential Revision: D42648547
Pulled By: ejguan
fbshipit-source-id: 77aa181d34651034e4c73459958b5658a18c82f9
0 commit comments