Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Apply suggestions from code review | Anderson Bravalheri | 2023-03-19 | 1 | -1/+1 |
| | | | Co-authored-by: Ed Morley <501702+edmorley@users.noreply.github.com> | ||||
* | Cluster deprecations due_date | Anderson Bravalheri | 2023-03-07 | 1 | -1/+1 |
| | |||||
* | Use new warnings in setuptools/build_meta.py | Anderson Bravalheri | 2023-03-07 | 1 | -6/+9 |
| | |||||
* | Import SetuptoolsDeprecationWarning from setuptools.warnings | Anderson Bravalheri | 2023-03-06 | 1 | -1/+1 |
| | |||||
* | Make __file__ an absolute path in setuptools.build_meta | hauntsaninja | 2023-01-24 | 1 | -1/+1 |
| | | | | | | | | | This is a difference between pip's legacy wheel build (or direct invocations of setup.py) and the PEP 517 build. While setup.py scripts that rely on this are fragile, it was quite painful to debug! Since Python 3.4, `__file__` is usually an absolute path, so this change might result in fewer surprises. | ||||
* | Use hidden directory to not interfere with discovery | Anderson Bravalheri | 2022-11-22 | 1 | -1/+2 |
| | |||||
* | Improve warnings in editable install | Anderson Bravalheri | 2022-08-26 | 1 | -3/+4 |
| | |||||
* | Remove unused import | Anderson Bravalheri | 2022-08-15 | 1 | -1/+1 |
| | |||||
* | Refactor code to bubble up info directories in build_meta | Anderson Bravalheri | 2022-08-15 | 1 | -25/+18 |
| | |||||
* | Revert change in dist_info search for build_meta | Anderson Bravalheri | 2022-08-15 | 1 | -9/+24 |
| | |||||
* | Add compat mode to editable install | Anderson Bravalheri | 2022-08-03 | 1 | -11/+4 |
| | | | | | | | | This is only a transitional measure that can be temporarily used by users to help them to adapt to the PEP 660 implementation. In this commit the argument for the `editable_wheel` command is changed from the flag form `--strict` to `--mode=strict`. | ||||
* | Add prepare_metadata_for_build_editable to build_meta.__all__ | Anderson Bravalheri | 2022-08-02 | 1 | -0/+1 |
| | |||||
* | Merge 'upstream/main' into feature/pep660 | Anderson Bravalheri | 2022-07-21 | 1 | -1/+1 |
|\ | |||||
| * | build_meta: execute code directly | Anderson Bravalheri | 2022-07-04 | 1 | -1/+1 |
| | | | | | | | | | | The `exec` function in Python should be able to execute code directly. Using `compile` and then `exec` seem to cause an overhead. | ||||
* | | Allow users to opt-into previous "develop" behavior | Anderson Bravalheri | 2022-06-25 | 1 | -24/+33 |
| | | |||||
* | | build_meta: Allow dist-info and egg-info to coexist | Anderson Bravalheri | 2022-06-21 | 1 | -26/+21 |
| | | | | | | | | | | | | | | PEP 517 does not care if other directories/files are left behind in the `metadata_directory`, as long as a `.dist_info` directory is produced at the root. We can leave the `.egg-info` directory behind, so this way we don't have to run it again when listing files from `build_py`. | ||||
* | | Address errors in tests for Windows | Anderson Bravalheri | 2022-06-17 | 1 | -4/+4 |
| | | |||||
* | | build_meta.build_editable: Add tests for config_settings | Anderson Bravalheri | 2022-06-16 | 1 | -9/+17 |
| | | |||||
* | | Consider config_settings in build_editable | Anderson Bravalheri | 2022-06-16 | 1 | -6/+10 |
| | | |||||
* | | Prefer 'verbose' and 'quiet' instead of 'log-level' | Anderson Bravalheri | 2022-06-16 | 1 | -21/+23 |
| | | |||||
* | | Support --build-option alongside --global-option | Anderson Bravalheri | 2022-06-16 | 1 | -6/+17 |
| | | | | | | | | | | | | `--build-option` should be used as a escape hatch to pass command specific options, while `--global-option` can be used to pass flags like `--quiet` or `--verbose`. | ||||
* | | build_meta: Consider --global-option and --build-option | Anderson Bravalheri | 2022-06-16 | 1 | -34/+82 |
| | | |||||
* | | Make the dist info args translation private | Anderson Bravalheri | 2022-06-16 | 1 | -2/+7 |
| | | | | | | | | | | It requires changes in other parts of the build system/commands to be able to be used. | ||||
* | | Add translator for config_settings to build_meta | Anderson Bravalheri | 2022-06-16 | 1 | -31/+126 |
| | | |||||
* | | Re-use dist-info dir for build_editable | Anderson Bravalheri | 2022-06-15 | 1 | -1/+2 |
| | | |||||
* | | Add prepare_metadata_for_build_editable hook | Anderson Bravalheri | 2022-06-15 | 1 | -2/+9 |
| | | |||||
* | | Fix flake8 errors with build_meta | Anderson Bravalheri | 2022-06-15 | 1 | -2/+0 |
| | | |||||
* | | Fix signature for build_editable according to PEP 660 | Anderson Bravalheri | 2022-06-15 | 1 | -1/+1 |
| | | |||||
* | | Change build_meta to use --output-dir instead of --egg-base for dist-info | Anderson Bravalheri | 2022-06-15 | 1 | -1/+1 |
| | | |||||
* | | include pep660 proof of concept (#3082) | Anderson Bravalheri | 2022-04-22 | 1 | -0/+21 |
|\ \ | |/ |/| | |||||
| * | include pep660 proof of concept | Daniel Holth | 2022-02-04 | 1 | -0/+21 |
| | | |||||
* | | Merge pull request #2876 from gentlegiantJGC/main | Jason R. Coombs | 2022-02-12 | 1 | -2/+19 |
|\ \ | | | | | | | Fixed string list concatenation error | ||||
| * | | Make _BuildMetaBackend._fix_config static and add tests. | Jason R. Coombs | 2022-02-12 | 1 | -1/+15 |
| | | | |||||
| * | | Use always_iterable to fix --global-option in one expression. | Jason R. Coombs | 2022-02-12 | 1 | -3/+4 |
| | | | |||||
| * | | Merge branch 'main' into gentlegiantJGC/main | Jason R. Coombs | 2022-02-12 | 1 | -3/+2 |
| |\ \ | |||||
| * | | | Update build_meta.py | gentlegiantJGC | 2021-11-13 | 1 | -0/+2 |
| | |/ | |/| | |||||
* | | | Remove new style class declaration, now the default. | Jason R. Coombs | 2022-02-12 | 1 | -1/+1 |
| | | | |||||
* | | | Remove duplicate invocations of _BuildMetaBackend._fix_config. | Jason R. Coombs | 2022-02-12 | 1 | -2/+0 |
| |/ |/| | |||||
* | | Move requirements processing to _reqs module. Add parse function. | Jason R. Coombs | 2022-02-05 | 1 | -12/+2 |
| | | |||||
* | | In build_meta, remove dependency on pkg_resources. | Jason R. Coombs | 2022-02-05 | 1 | -2/+11 |
|/ | |||||
* | Suppress 'setup.py install' warning under bdist_wheel. Fixes #2847. | Jason R. Coombs | 2021-11-03 | 1 | -2/+11 |
| | |||||
* | Remove superfluous else. | Jason R. Coombs | 2021-03-22 | 1 | -2/+1 |
| | |||||
* | fixup! build_meta: produce informative error when a dist is not found | layday | 2021-03-21 | 1 | -2/+4 |
| | |||||
* | fixup! fixup! build_meta: produce informative error when a dist is not found | layday | 2021-03-21 | 1 | -3/+3 |
| | |||||
* | build_meta: produce informative error when a dist is not found | layday | 2021-03-16 | 1 | -2/+6 |
| | | | | | | | | | | Previously, when `build_sdist` or `build_wheel` were unable to build a distribution (and were therefore unable to find the distribution file), they would throw a ValueError: not enough values to unpack (expected 1, got 0) which did not offer any clues as to where the issue might lie. | ||||
* | Remove Python 2 compatibility | Jason R. Coombs | 2020-08-16 | 1 | -17/+4 |
| | |||||
* | get_requires_for_build* hooks rely on 'installing' setup_requires | Thomas Kluyver | 2020-08-06 | 1 | -4/+5 |
| | |||||
* | Don't install setup_requires when run as a PEP-517 backend. | Thomas Kluyver | 2020-08-06 | 1 | -1/+18 |
| | | | | | | Under PEP-517, installing build dependencies is up to the frontend. Closes gh-2303 | ||||
* | Remove pkg_resources.py31compat.makedirs() in favor of the stdlib | Jon Dufresne | 2020-02-16 | 1 | -2/+1 |
| | | | | | As setuptools is now python 3.5+, this compatibility shim is no longer necessary. | ||||
* | 👹 Feed the hobgoblins (delint). | Jason R. Coombs | 2020-01-19 | 1 | -8/+16 |
| |