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
Support pure pyproject-toml packages (Azure#37882)
* add support for parsing and building pure pyproject.toml packages within azure-sdk-tools
* various typing updates across azure-sdk-tools, cleaning up what code paths I'm touching with the new build and parse support
* add tests for various pyproject.toml parse scenarios
* bump setuptools to 74.1.3 to support pure-pyproject.toml extension packages (eg without a setup.py)
---------
Co-authored-by: McCoy Patiño <[email protected]>
"Where is the start directory that we are building against? If not provided, the current working directory will be used. Please ensure you are within the azure-sdk-for-python repository."
# when building with pyproject, we will use `python -m build` to build the package
187
+
# -n argument will not use an isolated environment, which means the current environment must have all the dependencies of the package installed, to successfully
188
+
# pull in the dynamic `__version__` attribute. This is because setuptools is actually walking the __init__.py to get that attribute, which will fail
189
+
# if the imports within the setup.py don't work. Perhaps an isolated environment is better, pulling all the "dependencies" into the [build-system].requires list
190
+
191
+
# given the additional requirements of the package, we should install them in the current environment before attempting to build the package
192
+
# we assume the presence of `wheel`, `build`, `setuptools>=61.0.0`
0 commit comments