-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Replace setup.py develop with pip install -e #156710
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/156710
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit ec80777 with merge base 6737e2c ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
Refactoring this to scikit-build would let us do native inplace builds and vastly simplify our building code. |
atalman
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good if CI passes
malfet
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we have a fallback in setup.py that invokes pip install -e if someone tries to use it with new setuptools in a new way?
I don't think so. The issue is that pip will invoke setup.py itself at some point, but not as a separate process, rather basically as Plus, what already happens now is that when one calls |
|
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
pytorch#156027 already replaced most use of `python setup.py develop`. This PR only adds a few more occurrences. Pull Request resolved: pytorch#156710 Approved by: https://github.com/atalman
pytorch#156027 already replaced most use of `python setup.py develop`. This PR only adds a few more occurrences. Pull Request resolved: pytorch#156710 Approved by: https://github.com/atalman
pytorch#156027 already replaced most use of `python setup.py develop`. This PR only adds a few more occurrences. Pull Request resolved: pytorch#156710 Approved by: https://github.com/atalman
#156027 already replaced most use of
python setup.py develop. This PR only adds a few more occurrences.Stack from ghstack (oldest at bottom):
cc @EikanWang @jgong5 @wenzhe-nrv @sanchitintel