-
Notifications
You must be signed in to change notification settings - Fork 1.1k
PYTHON-2965 Migrate to a PEP517 compliant build system #1252
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
@@ -4,10 +4,6 @@ | |||
import sys | |||
import warnings | |||
|
|||
if sys.version_info[:3] < (3, 7): | |||
raise RuntimeError("Python version >= 3.7 required.") |
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.
Do we still need this as long as setup.py exists?
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.
No, setuptools will use the python_requires
config from pyproject.toml
.
setup.py
Outdated
readme_content = "" | ||
finally: | ||
f.close() | ||
|
||
# PYTHON-654 - Clang doesn't support -mno-fused-madd but the pythons Apple |
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.
How does the new build process handle this "-mno-fused-madd" issue? Or is it no longer a concern.
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.
Actually, we don't need to use the stdlib distutils
at all, and the distutils
that ships with setuptools
does not add this flag. I cleaned up this block.
No description provided.