aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/config.py
Commit message (Collapse)AuthorAgeFilesLines
* Add support for `license_files` option in metadataMick Koch2019-10-281-0/+1
|
* Ensure that python_requires is checked during option processing. Fixes #1787.Jason R. Coombs2019-09-111-0/+2
|
* Feed the hobgoblins (delint).Jason R. Coombs2019-01-081-1/+3
|
* Feed the hobgoblins (delint).Jason R. Coombs2019-01-081-5/+6
|
* Merge pull request #1620 from scop/spellingPaul Ganssle2019-01-011-1/+1
|\ | | | | Spelling fixes
| * Spelling fixesVille Skyttä2018-12-291-1/+1
| |
* | Disallow files for license inputsrajdeep2018-12-291-2/+20
|/ | | | | | | | | | | The ability to handle files was originally added and documented based on a misunderstanding of what the `license` field should include. The field should be the name of the license, not the full text. It is likely that anyone actually using this was outputing malformed PKG-INFO files, because most license files contain newlines. See GH issue #1551
* Merge branch 'master' into deprecate-requiresSreejith Menon2018-10-281-19/+27
|\
| * Inline variableJason R. Coombs2018-10-281-4/+1
| |
| * Extract _get_option function for getting an option from getter or attribute.Jason R. Coombs2018-10-281-9/+14
| |
| * Feed the hobgoblins (delint).Jason R. Coombs2018-10-281-6/+11
| |
* | Deprecate the requires keywordSreejith Menon2018-10-271-1/+20
|/ | | | | | | For runtime dependencies, install_requires should be used. For build dependencies, a PEP 518-compliant `pyproject.toml` should be used. Other dependencies can use extra requirements.
* Add data_files support in setup.cfg with test caseSatoru SATOH2018-10-241-0/+8
| | | | | | In the test case, dist.data_files needs to be sorted because the current implementation loads the configuration files as a dictionary with arbitrary order on Python < 3.6.
* Rename find_namepaces_ns to find_namespace_packages (#1423)Carsten Klein2018-08-171-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | * fix #1419 PEP420: add find_namespace: directive * fix #1419 PEP420: add find_namespace: directive to documentation * fix #1419 PEP420: add tests * fix #1419 PEP420: clean up code * fix #1419 PEP420: fix typo in documentation * fix #1419 PEP420: fix typo in documentation * fix #1419 PEP420: clean up code * fix #1419 PEP420: add changelog entry * fixup! fix #1419 PEP420: add tests * fix #1419 PEP420: cleanup code refactor markers * #1420: Rename find_namespace_ns to find_namespace_packages * #1420: update changelog entry
* Use Python 3 syntax for new-style clasessJason R. Coombs2018-06-031-1/+4
|
* Fix attr: with package_dirsJeremy Bowman2018-05-151-7/+27
|
* Support loading version from a fileJeremy Bowman2018-05-151-0/+13
|
* Prefer implied tuple.Jason R. Coombs2018-02-101-1/+1
|
* Support PEP 345 Project-URL metadataJeremy Stanley2017-11-221-0/+2
| | | | | | | | | | | By including one or more Project-URL entries in PKG-INFO metadata, PyPI can display helpful hyperlinks in a generic manner. Add support here to be able to pass it through setup.cfg and setup.py with a project_urls dict. See the corresponding section of the Core Metadata Specifications from the Python Packaging User Guide for details: https://packaging.python.org/specifications/core-metadata/#project-url-multiple-use
* Merge branch 'master' into drop-py26Jason R. Coombs2017-09-031-40/+93
|\
| * Need to perform the local assertion before checking for existence.Jason R. Coombs2017-08-281-7/+6
| |
| * Use proper reference.Jason R. Coombs2017-08-281-1/+1
| |
| * Correct typoJason R. Coombs2017-08-281-1/+1
| |
| * Extract method for reading local file. Now return results directly instead ↵Jason R. Coombs2017-08-281-16/+17
| | | | | | | | of for/append loop.
| * Using generator comprehension, avoid casting filepath to bytes on Python 2Jason R. Coombs2017-08-281-5/+2
| |
| * Convert path to str, which is needed under Py 2Sviatoslav Sydorenko2017-08-281-0/+1
| |
| * Support list of files passed to `file:` directiveSviatoslav Sydorenko2017-08-281-11/+19
| | | | | | | | | | * `file:` not accepts comma-separated list of filenames * files' contents are glues with an LF separator
| * Allow adding few files @ metadata.long_descriptionSviatoslav Sydorenko2017-08-281-3/+3
| |
| * Merge branch 'master' into feature/re-vendor-sadfaceJason R. Coombs2017-05-301-0/+1
| |\
| | * Fixes #999: support python_requires, py_modules in configuration filesMarcel Bargull2017-04-071-0/+1
| | |
| * | Revert "Merge pull request #933 from pypa/feature/581-depend-not-bundle"Jason R. Coombs2017-02-241-1/+1
| |/ | | | | | | | | This reverts commit 089cdeb489a0fa94d11b7307b54210ef9aa40511, reversing changes made to aaec654d804cb78dbb6391afff721a63f26a71cd.
| * Dropped support for classifiers subsection handling in setup.cfg (see #952).idle sign2017-02-041-11/+0
| |
| * Strip out vendored packages and require them instead. Ref #581.Jason R. Coombs2017-01-011-1/+1
| |
| * Proper finalization for `read_configuration()`.idle sign2016-12-101-9/+11
| |
| * Implemented find() configuration support for `packages`.idle sign2016-12-101-2/+31
| |
| * `read_configuration()` now accepts `ignore_option_errors`.idle sign2016-12-101-7/+33
| |
* | Drop support for Python 2.6, removing lots of compatibility code for a ↵Jason R. Coombs2016-12-091-1/+1
|/ | | | leaner, cleaner codebase. Fixes #878.
* `read_configuration` now chdirs and tests for file.idle sign2016-12-071-1/+12
|
* `strict_mode` removed to improve forward compatibility.idle sign2016-12-051-9/+1
|
* Added API functions.idle sign2016-12-051-0/+78
|
* Tests and docstrings update.idle sign2016-12-051-3/+3
|
* `file:` directive sandboxed.idle sign2016-12-051-1/+11
|
* _parse_attr() factored out.idle sign2016-12-041-24/+39
|
* `metadata` aliases update.idle sign2016-12-041-1/+1
|
* Added `metadata` section aliases.idle sign2016-12-041-2/+20
|
* Section names now dot-separated to mimic .toml table names.idle sign2016-12-041-1/+1
|
* Future package imported.idle sign2016-12-041-0/+1
|
* `dependency_links` as section not supported.idle sign2016-12-041-8/+0
|
* Implemented proper dangling option values support.idle sign2016-12-041-2/+2
|
* Added ConfigHandler.strict_mode.idle sign2016-12-041-2/+19
|