summaryrefslogtreecommitdiff
path: root/setuptools
Commit message (Collapse)AuthorAgeFilesLines
* Merge https://github.com/pypa/distutilsJason R. Coombs2022-07-131-2/+5
|
* Add stacklevel=2 to make calling code clearHugo van Kemenade2022-07-121-1/+1
|
* Use text mode for subprocess, avoiding unicode sandwich.Jason R. Coombs2022-07-041-6/+8
|
* build_meta: execute code directlyAnderson Bravalheri2022-07-041-1/+1
| | | | | The `exec` function in Python should be able to execute code directly. Using `compile` and then `exec` seem to cause an overhead.
* Merge with pypa/distutils@152c13dJason R. Coombs2022-07-036-8/+127
|
* setuptools/tests: minor cleanupBenoit Pierre2022-07-021-3/+5
|
* setuptools/vendored: drop `nspektr`Benoit Pierre2022-07-0211-262/+1
| | | | No needed anymore.
* setuptools: drop support for installing an entrypoint dependenciesBenoit Pierre2022-07-022-13/+0
| | | | | | | It does not work (broken since `v60.8.0`: the code in `_install_dependencies` forgets to add the newly installed egg to `sys.path`), and is unnecessary as it's the job of the code handling `setup_requires` to ensure all necessary build requirements are installed.
* setuptools: add test for distutils' entrypoints using extrasBenoit Pierre2022-07-021-0/+69
|
*-. Allow `file` directive for dependencies (#3253, #3255)Anderson Bravalheri2022-06-195-25/+213
|\ \
| | * Allow `file:` for `dependencies` and `optional-dependencies` in pyproject.tomlAarni Koskela2022-04-083-17/+173
| | |
| * | Allow `file:` for `requires` statements in setup.cfgAarni Koskela2022-06-142-8/+40
| | | | | | | | | | | | Refs #1951
* | | config.expand.StaticModule: handle scenarios when annotated assignment does ↵Anderson Bravalheri2022-06-191-2/+2
| | | | | | | | | | | | not have a value
* | | config.expand: Refactor StaticModuleAnderson Bravalheri2022-06-191-13/+12
| | |
* | | test_expand: Add example for annotated assignment without valueAnderson Bravalheri2022-06-191-5/+9
| | |
* | | Add support for annotated assignments to static attribute lookup.Karl Otness2022-06-182-16/+25
| | | | | | | | | | | | | | | | | | | | | | | | When walking the ast of a module, look for AnnAssign nodes in addition to Assign to support assignments with type annotations, for example. Since we have to read different attributes, split the generators into a for loop. Existing ast.Assign nodes follow the same processing as before.
* | | Clarify modules used for pyproject.toml parsing are privateAnderson Bravalheri2022-06-174-2/+14
| | |
* | | Change wording from *experimental* to *beta*Anderson Bravalheri2022-06-161-7/+4
| | |
* | | Warn about 'tool.setuptool' instead of project metadata in pyproject.tomlAnderson Bravalheri2022-06-161-7/+8
| | |
* | | fixed some spelling mistakes,Bastian Venthur2022-06-143-3/+3
| | | | | | | | | | | | that's all :)
* | | Make it easier to read the docstring for setuptools/extensionAnderson Bravalheri2022-06-141-0/+14
| | |
* | | Fix missing intersphinx reference in Extension docstringAnderson Bravalheri2022-06-141-1/+1
| | |
* | | Add docstring documentation to setuptools.ExtensionAnderson Bravalheri2022-06-141-1/+72
|/ /
* | Improve warning messageAnderson Bravalheri2022-06-131-1/+1
| |
* | Add setuptools.command.build (#3256)Anderson Bravalheri2022-06-132-0/+87
|\ \
| * | Separate test for build sub commandsAnderson Bravalheri2022-06-091-7/+38
| | |
| * | Test that users are informed about subcommands in distutilsAnderson Bravalheri2022-06-092-7/+15
| | |
| * | Test that extending setuptools' build sub_commands does not extend distutilsIsuru Fernando2022-06-091-1/+9
| | |
| * | separate subcommands for setuptools classIsuru Fernando2022-06-091-1/+20
| | | | | | | | | | | | Original author: Anderson Bravalheri
| * | Fix flake8 errorAnderson Bravalheri2022-04-111-0/+1
| | |
| * | Add a simple test for setuptools.command.buildIsuru Fernando2022-04-071-0/+16
| | |
| * | Add setuptools.command.buildIsuru Fernando2022-04-071-0/+4
| |/ | | | | | | | | | | In order to override distutils.command.build on downstream projects it is good to have a setuptools specific command which allows downstream projects to avoid importing distutils.
* | Merge pypa/distutils@75ed79dJason R. Coombs2022-06-1299-4024/+5584
| |
* | Change warning about namespace packages and data filesAnderson Bravalheri2022-06-091-3/+4
| | | | | | | | This follows a suggestion given by users to improve clarity.
* | Make test_setup_install_includes_dependencies work with custom PYTHONPATH ↵Anderson Bravalheri2022-06-071-8/+13
|\ \ | | | | | | | | | (#3336)
| * | No need to set PYTHONPATH in test_setup_install_includes_dependencies at allMiro Hrončok2022-05-241-4/+0
| | |
| * | Preserve PYTHONPATH in test_setup_install_includes_dependenciesMiro Hrončok2022-05-241-1/+5
| | | | | | | | | | | | | | | So if the tested setuptools is only located in manually set $PYTHONPATH, it still tests that setuptools instead of the previously installed one in site-packages.
| * | Make test_setup_install_includes_dependencies easier to debugMiro Hrončok2022-05-241-7/+12
| | |
* | | Improve warning message for package data abuseAnderson Bravalheri2022-06-051-5/+6
|/ /
* | Update setuptools/command/build_py.pyAnderson Bravalheri2022-05-181-1/+1
| | | | | | Co-authored-by: Michał Górny <mgorny@gentoo.org>
* | Improve warning message for _InvalidFileAnderson Bravalheri2022-05-181-3/+2
| |
* | Improve warning message for dist_info._versionAnderson Bravalheri2022-05-181-1/+2
| |
* | Improve warning message for _WouldIgnoreFieldAnderson Bravalheri2022-05-181-3/+5
| |
* | Improve warning message for _IncludePackageDataAbuseAnderson Bravalheri2022-05-181-1/+4
| |
* | Remove commaGyeongjae Choi2022-05-171-1/+1
| |
* | Add deprecation messages for `namespace_packages` (#3262)Anderson Bravalheri2022-05-165-6/+48
|\ \
| * | Add deprecation messages for `namespace_packages`.Anderson Bravalheri2022-05-165-6/+48
| | | | | | | | | | | | | | | | | | | | | | | | The docs in https://setuptools.pypa.io/en/latest/userguide/package_discovery.html and https://packaging.python.org/en/latest/guides/packaging-namespace-packages/ suggest that this field is deprecated.
* | | Update vendored `pyparsing` to fix problems with 3.11 (#3276)Anderson Bravalheri2022-05-1626-5810/+10574
|\ \ \
| * | | Update pyparsing to fix problems with 3.11Anderson Bravalheri2022-04-2125-5809/+10573
| | | |
| * | | Update version of pyparsing in vendored.txtAnderson Bravalheri2022-04-211-1/+1
| | | |