summaryrefslogtreecommitdiff
path: root/setuptools/tests/test_config.py
Commit message (Collapse)AuthorAgeFilesLines
* Add explicit test for license in setup.cfgPaul Ganssle2018-12-291-0/+20
|
* Deprecate the requires keywordSreejith Menon2018-10-271-0/+17
| | | | | | | 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/+17
| | | | | | 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/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Merge pull request #1343 from ianw/long-descr-typeJason R. Coombs2018-05-181-1/+42
|\ | | | | Allow setting long_description_content_type externally
| * Allow setting long_description_content_type externallyIan Wienand2018-05-171-1/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some tools, such as PBR, might want to set long_description_content_type during the parent object's Distribution.__init__() call (during distutils setup_keywords entry points). However, that field is currently unconditionally overwritten after these calls, erasing the value. We would rather not duplicate the existing method of copying into dist.metadata as done with project_urls. This preserves the fields within Distribution.metadata described by self._DISTUTIULS_UNUPPORTED_METADATA, or otherwise takes it from arguments. A test case that simulates setting the long description and overriding the arguments is added.
* | Fix attr: with package_dirsJeremy Bowman2018-05-151-3/+50
|/
* Support loading version from a fileJeremy Bowman2018-05-151-0/+17
|
* Updates for PEP 566 (Metadata 2.1)Dustin Ingram2018-03-141-0/+1
|
* Merge branch 'master' into masterJason R. Coombs2018-01-041-0/+2
|\
| * Add setup.cfg support for long_description_content_type (in line with docs).Henk-Jaap Wagenaar2017-11-211-0/+2
| |
* | Support PEP 345 Project-URL metadataJeremy Stanley2017-11-221-0/+16
|/ | | | | | | | | | | 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
* Avoid interaction of multiple factors in test.Jason R. Coombs2017-08-281-1/+1
| | | If one wishes to test both 'mixed' and 'sandboxed', let's create a separate test for that, but it's probably unnecessary.
* Support list of files passed to `file:` directiveSviatoslav Sydorenko2017-08-281-8/+2
| | | | | * `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-0/+24
|
* fix requires handling when using setup.cfgBenoit Pierre2017-08-021-3/+3
|
* Fixes #999: support python_requires, py_modules in configuration filesMarcel Bargull2017-04-071-0/+4
|
* Dropped support for classifiers subsection handling in setup.cfg (see #952).idle sign2017-02-041-5/+8
|
* `test_ignore_errors` side effect mitigated.idle sign2016-12-101-0/+2
|
* Fixed test for `find()` results.idle sign2016-12-101-3/+5
|
* Implemented find() configuration support for `packages`.idle sign2016-12-101-0/+38
|
* config tests refactored.idle sign2016-12-101-17/+26
|
* `read_configuration()` now accepts `ignore_option_errors`.idle sign2016-12-101-0/+16
|
* `read_configuration` now chdirs and tests for file.idle sign2016-12-071-1/+5
|
* `strict_mode` removed to improve forward compatibility.idle sign2016-12-051-12/+0
|
* Added API functions.idle sign2016-12-051-1/+19
|
* Tests and docstrings update.idle sign2016-12-051-0/+4
|
* `file:` directive sandboxed.idle sign2016-12-051-0/+12
|
* `metadata` aliases update.idle sign2016-12-041-1/+1
|
* Added `metadata` section aliases.idle sign2016-12-041-0/+25
|
* Section names now dot-separated to mimic .toml table names.idle sign2016-12-041-7/+9
|
* `dependency_links` as section not supported.idle sign2016-12-041-16/+0
|
* Implemented proper dangling option values support.idle sign2016-12-041-13/+98
|
* Added ConfigHandler.strict_mode.idle sign2016-12-041-2/+13
|
* Tests for config module 2.6 compatible.idle sign2016-11-261-20/+20
|
* Added tests for config module.idle sign2016-11-261-0/+339