Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename `config` to `config.setupcfg` | Anderson Bravalheri | 2022-03-05 | 1 | -919/+0 |
| | | | | | This will facilitate the implementation of other configuration formats (such as pyproject.toml as initially defined by PEP 621) | ||||
* | remove lib2to3 usage | Thomas Grainger | 2021-09-04 | 1 | -230/+123 |
| | |||||
* | globbing for [options.data_files]: Remove special treatment for filenames ↵ | Alan Fregtman | 2021-07-21 | 1 | -3/+0 |
| | | | | with globby characters that exist literally. | ||||
* | Update globbing for [options.data_files] to be implicit, not requiring a ↵ | Alan Fregtman | 2021-07-21 | 1 | -3/+6 |
| | | | | custom directive. | ||||
* | Implement "glob:" directive for declarative "data_files" option. | Alan Fregtman | 2021-06-30 | 1 | -0/+35 |
| | |||||
* | Fix formatting of tests and change dash deprecation method name | Melissa Li | 2021-03-08 | 1 | -8/+8 |
| | |||||
* | Apply suggestions in code review. | Jason R. Coombs | 2021-03-06 | 1 | -2/+3 |
| | | | | Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua> | ||||
* | Test for uppercase metadata warning | Melissa Li | 2021-03-05 | 1 | -0/+18 |
| | |||||
* | Add test for dash preserved extras_require in setup.cfg | Melissa Li | 2021-03-02 | 1 | -0/+14 |
| | |||||
* | Add test for conversion warning | Melissa Li | 2021-03-02 | 1 | -0/+19 |
| | |||||
* | Modify existing tests to be compatible with future underscore change | Melissa Li | 2021-03-02 | 1 | -2/+2 |
| | |||||
* | Merge pull request #2571 from makeroo/main | Jason R. Coombs | 2021-02-25 | 1 | -0/+24 |
|\ | | | | | Correctly parse cmdclass in setup.cfg. Fixes #2570 | ||||
| * | Correctly parse cmdclass in setup.cfg. Fixes #2570 | Simone Pierazzini | 2021-02-18 | 1 | -0/+24 |
| | | |||||
* | | Update test for case-sensitive entry point names | Melissa Li | 2021-02-24 | 1 | -16/+0 |
| | | |||||
* | | Add case-sensitive entry point name test | Melissa Li | 2021-02-23 | 1 | -0/+34 |
|/ | |||||
* | Remove Python 2 compatibility | Jason R. Coombs | 2020-08-16 | 1 | -23/+1 |
| | |||||
* | Disable test on Python 2. | Jason R. Coombs | 2020-05-16 | 1 | -0/+5 |
| | |||||
* | Try constructing the fake package at the beginning of the test. | Jason R. Coombs | 2020-05-16 | 1 | -12/+14 |
| | |||||
* | Update test to create separate subpackages. Hoping that avoids issues with ↵ | Jason R. Coombs | 2020-05-16 | 1 | -10/+8 |
| | | | | caching. | ||||
* | Delete packages from sys.modules | Jason R. Coombs | 2020-05-16 | 1 | -0/+5 |
| | |||||
* | Alter test so it actually triggers the intended behavior. | Jason R. Coombs | 2020-05-16 | 1 | -2/+2 |
| | |||||
* | Extract StaticModule and patch_path helpers. | Jason R. Coombs | 2020-05-16 | 1 | -1/+1 |
| | |||||
* | Merge `literal_attr:` functionality into `attr:` | John T. Wodder II | 2020-05-15 | 1 | -53/+1 |
| | |||||
* | Implement a "literal_attr:" config directive | John T. Wodder II | 2020-05-15 | 1 | -0/+64 |
| | |||||
* | 👹 Feed the hobgoblins (delint). | Jason R. Coombs | 2020-01-19 | 1 | -3/+3 |
| | |||||
* | Change coding cookie to use utf-8 (lowercase) | Jon Dufresne | 2019-10-21 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | While perfectly valid, the encoding 'UTF-8' (uppercase) is not recognized by the Emacs MULE system. As such, it displays the following warning when opening a file with it used as an encoding cookie: Warning (mule): Invalid coding system ‘UTF-8’ is specified for the current buffer/file by the :coding tag. It is highly recommended to fix it before writing to a file. Some discussion of this can be found at: https://stackoverflow.com/questions/14031724/how-to-make-emacs-accept-utf-8-uppercase-encoding While the post does offer a workaround for Emacs users, rather than ask all to implement it, use the more typical utf-8 (lowercase). | ||||
* | Add more tests for valid behavior. Expand exception, any should do. | Jason R. Coombs | 2019-09-11 | 1 | -1/+23 |
| | |||||
* | Add test capturing failure. Ref #1787. | Jason R. Coombs | 2019-09-11 | 1 | -0/+12 |
| | |||||
* | When reading config files, require them to be encoded with UTF-8. Fixes #1702. | Jason R. Coombs | 2019-04-05 | 1 | -22/+9 |
| | |||||
* | Feed the hobgoblins (delint). | Jason R. Coombs | 2019-04-05 | 1 | -4/+7 |
| | |||||
* | Merge pull request #1180 from ↵ | Jason R. Coombs | 2019-01-27 | 1 | -2/+73 |
|\ | | | | | | | | | benoit-pierre/fix_889_and_non-ascii_in_setup.cfg_take_2 improve encoding handling for `setup.cfg` | ||||
| * | Merge branch 'master' into fix_889_and_non-ascii_in_setup.cfg_take_2 | Jason R. Coombs | 2019-01-25 | 1 | -8/+242 |
| |\ | |||||
| * | | improve encoding handling for `setup.cfg` | Benoit Pierre | 2017-10-25 | 1 | -2/+63 |
| | | | | | | | | | | | | | | | | | | | | | | | | Support the same mechanism as for Python sources for declaring the encoding to be used when reading `setup.cfg` (see PEP 263), and return the results of reading it as Unicode. Fix #1062 and #1136. | ||||
| * | | add test to ensure `setup.cfg` interpolation behavior remain unchanged | Benoit Pierre | 2017-10-25 | 1 | -0/+10 |
| | | | |||||
* | | | Feed the hobgoblins (delint). | Jason R. Coombs | 2019-01-26 | 1 | -6/+10 |
| |/ |/| | |||||
* | | Add explicit test for license in setup.cfg | Paul Ganssle | 2018-12-29 | 1 | -0/+20 |
| | | |||||
* | | Deprecate the requires keyword | Sreejith Menon | 2018-10-27 | 1 | -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 case | Satoru SATOH | 2018-10-24 | 1 | -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 Klein | 2018-08-17 | 1 | -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-type | Jason R. Coombs | 2018-05-18 | 1 | -1/+42 |
|\ \ | | | | | | | Allow setting long_description_content_type externally | ||||
| * | | Allow setting long_description_content_type externally | Ian Wienand | 2018-05-17 | 1 | -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_dirs | Jeremy Bowman | 2018-05-15 | 1 | -3/+50 |
|/ / | |||||
* | | Support loading version from a file | Jeremy Bowman | 2018-05-15 | 1 | -0/+17 |
| | | |||||
* | | Updates for PEP 566 (Metadata 2.1) | Dustin Ingram | 2018-03-14 | 1 | -0/+1 |
| | | |||||
* | | Merge branch 'master' into master | Jason R. Coombs | 2018-01-04 | 1 | -0/+2 |
|\ \ | |||||
| * | | Add setup.cfg support for long_description_content_type (in line with docs). | Henk-Jaap Wagenaar | 2017-11-21 | 1 | -0/+2 |
| |/ | |||||
* | | Support PEP 345 Project-URL metadata | Jeremy Stanley | 2017-11-22 | 1 | -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. Coombs | 2017-08-28 | 1 | -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:` directive | Sviatoslav Sydorenko | 2017-08-28 | 1 | -8/+2 |
| | | | | | * `file:` not accepts comma-separated list of filenames * files' contents are glues with an LF separator | ||||
* | Allow adding few files @ metadata.long_description | Sviatoslav Sydorenko | 2017-08-28 | 1 | -0/+24 |
| |