summaryrefslogtreecommitdiff
path: root/setuptools
Commit message (Collapse)AuthorAgeFilesLines
* Change tests for resolve_class to consider different layoutsAnderson Bravalheri2022-03-241-5/+16
| | | | | Although this situation is different from the one described in #3000, that issue served as inspiration behind this change.
* Add unit test for read_attrAnderson Bravalheri2022-03-241-24/+44
| | | | Closes #3176
* Merge branch 'experimental/support-pyproject' into mainAnderson Bravalheri2022-03-2444-331/+6913
|\
| * Add the upcomming toxfile.py to the list of ignored modules for flat-layoutAnderson Bravalheri2022-03-241-0/+1
| |
| * Fix edge case of package discoveryAnderson Bravalheri2022-03-241-1/+2
| |
| * Use better variable namingAnderson Bravalheri2022-03-221-6/+9
| |
| * Fix default include-package-data with 'pyproject.toml'Anderson Bravalheri2022-03-221-0/+1
| |
| * Add test for default include-package-data with 'pyproject.toml'Anderson Bravalheri2022-03-221-0/+13
| |
| * Add a few other reserved package/module names to discoveryAnderson Bravalheri2022-03-221-0/+11
| |
| * Improve organisation of test_config_discoveryAnderson Bravalheri2022-03-221-53/+54
| |
| * Ignore ext-modules for auto-discovery with pyproject.toml metadataAnderson Bravalheri2022-03-223-53/+100
| |
| * Skip discover when ext_modules are providedAnderson Bravalheri2022-03-221-1/+9
| |
| * Test discovery when ext_modules are providedAnderson Bravalheri2022-03-221-0/+52
| | | | | | | | This example is based on the way the kiwisolver package is organised.
| * Make sure to ignore option errors with MinimalDistributionAnderson Bravalheri2022-03-213-7/+22
| |
| * Ensure empty package_dir is not replaced on auto-discoveryAnderson Bravalheri2022-03-211-2/+9
| |
| * Rename variable aliasAnderson Bravalheri2022-03-211-12/+12
| | | | | | | | Rename 'silent' to 'ignore', because it seems more appropriate.
| * Improve interaction between pyproject.toml metadata and discoveryAnderson Bravalheri2022-03-213-73/+115
| |
| * Fix test missing assertionAnderson Bravalheri2022-03-211-1/+1
| |
| * Merge 'upstream/main' into experimental/support-pyprojectAnderson Bravalheri2022-03-214-132/+128
| |\
| * | Refactor ConfigDiscovery._root_dir as a propertyAnderson Bravalheri2022-03-211-3/+5
| | |
| * | Use blank lines to emphasize warningsAnderson Bravalheri2022-03-201-2/+2
| | | | | | | | | | | | This matches the level of emphasis used by distutils.
| * | Attempt to clarify which url is missing for pyproject-metadata buildsAnderson Bravalheri2022-03-201-5/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the user does not specify `Homepage` (or any variant such as `home-page`), distutils will warn the following message: warning: check: missing required meta-data: url This message is fine for `setup.cfg` builds because the field there is called `url`, but it does not work well for builds using pyproject.toml metadata. The change implemented here will add some other logging information that try to point the user in the correct direction for solving this issue. This problem was first identified in: https://discuss.python.org/t/help-testing-experimental-features-in-setuptools/13821
| * | Simplify package name condition for flat layoutAnderson Bravalheri2022-03-201-9/+5
| | |
| * | Prevent setup_requires patches from activating auto-discoveryAnderson Bravalheri2022-03-193-1/+32
| | |
| * | Fix problem caused by mispelling of py_modules for pyproject.tomlAnderson Bravalheri2022-03-192-26/+62
| | |
| * | Fix error in doctest on WindowsAnderson Bravalheri2022-03-181-4/+11
| | |
| * | Fix type error in setuptools.configAnderson Bravalheri2022-03-181-3/+5
| | |
| * | Add type hints to setuptools.discoveryAnderson Bravalheri2022-03-181-29/+42
| | | | | | | | | | | | This helps to increase confidence in the code
| * | Improve logs/docstrings for setuptools.discoveryAnderson Bravalheri2022-03-181-2/+11
| | |
| * | Adequate existing tests to the new errors for auto-discoveryAnderson Bravalheri2022-03-183-18/+28
| | |
| * | Prevent accidental multi-package dist with auto-discoveryAnderson Bravalheri2022-03-182-6/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | As discussed in https://discuss.python.org/t/help-testing-experimental-features-in-setuptools/13821/41 automatically scanning all the directories might be very error-prone. One way of avoiding that is to error when multiple top-level packages are automatically discovered.
| * | Avoid running build unless necessary in test for discoveryAnderson Bravalheri2022-03-181-1/+7
| | |
| * | Remove stubs when trying name auto-discoveryAnderson Bravalheri2022-03-182-2/+5
| | |
| * | Add function to remove stubs from a list of packagesAnderson Bravalheri2022-03-181-1/+10
| | |
| * | Refactor function for finding top-level packages in auto-discoveryAnderson Bravalheri2022-03-183-20/+49
| | |
| * | Allow type stubs for FlatLayoutPackageFinderAnderson Bravalheri2022-03-181-4/+11
| | |
| * | Add other names to the list of excluded packages for auto-discoveryAnderson Bravalheri2022-03-181-0/+9
| | |
| * | Add expectations about multiple packages for discoveryAnderson Bravalheri2022-03-182-11/+69
| | |
| * | Split lines for dynamic classifiers in pyproject.tomlAnderson Bravalheri2022-03-171-5/+16
| | |
| * | Add tests for dynamic classifiers on pyproject.tomlAnderson Bravalheri2022-03-171-6/+38
| | |
| * | Merge branch 'main' into experimental/support-pyprojectAnderson Bravalheri2022-03-1615-56/+302
| |\ \
| * | | Fix problem with path objects for WindowsAnderson Bravalheri2022-03-131-1/+1
| | | |
| * | | Change pyproject.toml processing to not use dynamic for license/license-filesAnderson Bravalheri2022-03-092-26/+6
| | | |
| * | | Change pyproject.toml tests to not use dynamic for license/license-filesAnderson Bravalheri2022-03-093-9/+10
| | | |
| * | | Update vendored dependency validate-pyproject to 0.6Anderson Bravalheri2022-03-093-26/+23
| | | |
| * | | Test the behavior of license and license-files in pyproject.tomlAnderson Bravalheri2022-03-091-0/+24
| | | |
| * | | Take discovery into account when expanding pyproject.tomlAnderson Bravalheri2022-03-091-20/+96
| | | |
| * | | Capture expectations about discovery and attr/cmdclassAnderson Bravalheri2022-03-092-18/+54
| | | | | | | | | | | | | | | | … `pyproject.toml` configs
| * | | Postpone expanding dynamic config in pyproject.tomlAnderson Bravalheri2022-03-091-1/+2
| | | |
| * | | Make sure package_dir is populated before processing cmdclass and 'attr:' in ↵Anderson Bravalheri2022-03-094-50/+132
| | | | | | | | | | | | | | | | setup.cfg