summaryrefslogtreecommitdiff
path: root/setuptools/config/setupcfg.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove redundant URL partAnderson Bravalheri2023-04-241-1/+1
|
* Use new warnings in setuptools/config/setupcfg.pyAnderson Bravalheri2023-03-071-36/+57
|
* Import SetuptoolsDeprecationWarning from setuptools.warningsAnderson Bravalheri2023-03-061-1/+1
|
* Simplify _section_options using str.partition and a generator.Jason R. Coombs2023-03-051-11/+5
|
* Extract method for _section_options.Jason R. Coombs2023-03-051-10/+14
|
* Resolve setter once.Jason R. Coombs2023-03-051-5/+3
|
* Trap exception directly instead of tracking with boolean.Jason R. Coombs2023-03-051-12/+3
|
* Rename value to avoid masking variable.Jason R. Coombs2023-03-051-3/+3
|
* Use try/except in __setitem__.Jason R. Coombs2023-03-051-4/+3
|
* ⚫ Fade to black.Jason R. Coombs2023-03-051-13/+21
|
* Update implementation to consider new packaging exceptionsAnderson Bravalheri2023-01-231-11/+16
|
* Add files referenced by file: directive in setup.cfg to sdistAnderson Bravalheri2023-01-191-4/+11
|
* setup.cfg parsing: use contextlib.suppress instead of try/except+passAnderson Bravalheri2022-08-061-3/+2
|
* setup.cfg parsing: Fix incorrect refactoringAnderson Bravalheri2022-08-061-9/+11
|
* setup.cfg parsing: Simplify warn_accidental_env_marker_misconfigAnderson Bravalheri2022-08-061-17/+17
|
* setup.cfg parsing: Refactor _parse_requirements_list and ↵Anderson Bravalheri2022-08-061-33/+33
| | | | warn_accidental_env_marker_misconfig
* Add warning for potential extras_require misconfigurationLumir Balhar2022-08-061-0/+48
| | | | Fixes: https://github.com/pypa/setuptools/issues/3467
*-. Allow `file` directive for dependencies (#3253, #3255)Anderson Bravalheri2022-06-191-8/+22
|\ \
| * | Allow `file:` for `requires` statements in setup.cfgAarni Koskela2022-06-141-8/+22
| | | | | | | | | | | | Refs #1951
* | | Clarify modules used for pyproject.toml parsing are privateAnderson Bravalheri2022-06-171-1/+5
|/ /
* | Add deprecation messages for `namespace_packages`.Anderson Bravalheri2022-05-161-3/+9
|/ | | | | | | | 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.
* Small refactorAnderson Bravalheri2022-03-271-4/+3
|
* Improve interaction between pyproject.toml metadata and discoveryAnderson Bravalheri2022-03-211-2/+2
|
* Make sure package_dir is populated before processing cmdclass and 'attr:' in ↵Anderson Bravalheri2022-03-091-25/+42
| | | | setup.cfg
* Allow package_dir autodiscovery for setup.cfgAnderson Bravalheri2022-03-091-12/+30
|
* Find namespaces by default when using config in 'pyproject.toml'Anderson Bravalheri2022-03-051-4/+1
|
* Add some type hints to config.setupcfgAnderson Bravalheri2022-03-051-21/+56
|
* Add the apply_configuration API to setuptools.config.setupcfgAnderson Bravalheri2022-03-051-11/+25
| | | | | The apply_configuration is implemented in a way that it is consistent for both pyproject.toml and setup.cfg
* Allow root_dir to be explicit in config.expand functionsAnderson Bravalheri2022-03-051-1/+1
|
* Extract post-processing functions from configAnderson Bravalheri2022-03-051-155/+13
| | | | | | | | | | | | | | | | | We can split the process of interpreting configuration files into 2 steps: 1. The parsing the file contents from strings to value objects that can be understand by Python (for example a string with a comma separated list of keywords into an actual Python list of strings). 2. The expansion (or post-processing) of these values according to the semantics ``setuptools`` assign to them (for example a configuration field with the ``file:`` directive should be expanded from a list of file paths to a single string with the contents of those files concatenated) The idea of this change is to extract the functions responsible for (2.) into a new module, so they can be reused between different config file formats.
* Rename `config` to `config.setupcfg`Anderson Bravalheri2022-03-051-0/+751
This will facilitate the implementation of other configuration formats (such as pyproject.toml as initially defined by PEP 621)