Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add pruning heuristics to PackageFinder based on exclude | Anderson Bravalheri | 2023-03-07 | 1 | -12/+22 |
| | |||||
* | Remove htmlcov from auto **module** discovery | Anderson Bravalheri | 2023-02-27 | 1 | -1/+0 |
| | | | | | | It seems that it was previously added there by mistake. After some inspection ``htmlcov`` should be a folder (by default) and therefore can only be confused by a package (not a module) | ||||
* | Hotfix add htmlcov to FlatLayoutPackageFinder.DEFAULT_EXCLUDE | Yukihiko Shinoda | 2023-02-23 | 1 | -1/+2 |
| | |||||
* | add htmlcov to FlatLayoutModuleFinder.DEFAULT_EXCLUDE | Demian Brecht | 2022-11-28 | 1 | -0/+1 |
| | |||||
* | Remove inadvertent splatting of the name attribute | Benno Rice | 2022-08-19 | 1 | -1/+0 |
| | | | | | | | The `name` attribute of a `Distribution` object is used by the command-line processing system and is not intended to hold the name of the distribution itself. Setting it to the name will cause the command-line processing system to have a bad time. | ||||
* | Relax file types in discovery | Anderson Bravalheri | 2022-06-15 | 1 | -4/+17 |
| | |||||
* | Disable auto-discovery when the 'configuration' attribute is passed | Anderson Bravalheri | 2022-03-25 | 1 | -0/+2 |
| | |||||
* | Avoid unnecessarily changing package_dir | Anderson Bravalheri | 2022-03-25 | 1 | -0/+7 |
| | | | | And also avoid using './' paths | ||||
* | Add the upcomming toxfile.py to the list of ignored modules for flat-layout | Anderson Bravalheri | 2022-03-24 | 1 | -0/+1 |
| | |||||
* | Add a few other reserved package/module names to discovery | Anderson Bravalheri | 2022-03-22 | 1 | -0/+11 |
| | |||||
* | Ignore ext-modules for auto-discovery with pyproject.toml metadata | Anderson Bravalheri | 2022-03-22 | 1 | -6/+21 |
| | |||||
* | Skip discover when ext_modules are provided | Anderson Bravalheri | 2022-03-22 | 1 | -1/+9 |
| | |||||
* | Ensure empty package_dir is not replaced on auto-discovery | Anderson Bravalheri | 2022-03-21 | 1 | -2/+9 |
| | |||||
* | Refactor ConfigDiscovery._root_dir as a property | Anderson Bravalheri | 2022-03-21 | 1 | -3/+5 |
| | |||||
* | Simplify package name condition for flat layout | Anderson Bravalheri | 2022-03-20 | 1 | -9/+5 |
| | |||||
* | Prevent setup_requires patches from activating auto-discovery | Anderson Bravalheri | 2022-03-19 | 1 | -1/+6 |
| | |||||
* | Fix error in doctest on Windows | Anderson Bravalheri | 2022-03-18 | 1 | -4/+11 |
| | |||||
* | Add type hints to setuptools.discovery | Anderson Bravalheri | 2022-03-18 | 1 | -29/+42 |
| | | | | This helps to increase confidence in the code | ||||
* | Improve logs/docstrings for setuptools.discovery | Anderson Bravalheri | 2022-03-18 | 1 | -2/+11 |
| | |||||
* | Prevent accidental multi-package dist with auto-discovery | Anderson Bravalheri | 2022-03-18 | 1 | -3/+38 |
| | | | | | | | | | 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. | ||||
* | Remove stubs when trying name auto-discovery | Anderson Bravalheri | 2022-03-18 | 1 | -1/+1 |
| | |||||
* | Add function to remove stubs from a list of packages | Anderson Bravalheri | 2022-03-18 | 1 | -1/+10 |
| | |||||
* | Refactor function for finding top-level packages in auto-discovery | Anderson Bravalheri | 2022-03-18 | 1 | -1/+29 |
| | |||||
* | Allow type stubs for FlatLayoutPackageFinder | Anderson Bravalheri | 2022-03-18 | 1 | -4/+11 |
| | |||||
* | Add other names to the list of excluded packages for auto-discovery | Anderson Bravalheri | 2022-03-18 | 1 | -0/+9 |
| | |||||
* | Fix problem with path objects for Windows | Anderson Bravalheri | 2022-03-13 | 1 | -1/+1 |
| | |||||
* | Allow expand.find_packges to fill package_dir | Anderson Bravalheri | 2022-03-09 | 1 | -2/+2 |
| | |||||
* | Externalize find_parent_package from discovery class | Anderson Bravalheri | 2022-03-09 | 1 | -30/+47 |
| | |||||
* | Allow package_dir autodiscovery for setup.cfg | Anderson Bravalheri | 2022-03-09 | 1 | -3/+4 |
| | |||||
* | Add venv to the default exclude list | Anderson Bravalheri | 2022-03-07 | 1 | -0/+1 |
| | |||||
* | Don't overwrite if the user specifies empty packages/py_modules | Anderson Bravalheri | 2022-03-05 | 1 | -1/+1 |
| | |||||
* | Ignore build and dist folders in flat-layout | Anderson Bravalheri | 2022-03-05 | 1 | -0/+2 |
| | |||||
* | Ignore some other folders and files by default | Anderson Bravalheri | 2022-03-05 | 1 | -0/+4 |
| | |||||
* | Exclude 'bin' dir in discovery | Anderson Bravalheri | 2022-03-05 | 1 | -0/+1 |
| | |||||
* | Attempt to improve autodoc | Anderson Bravalheri | 2022-03-05 | 1 | -0/+2 |
| | |||||
* | Fix path handling on Windows | Anderson Bravalheri | 2022-03-05 | 1 | -1/+3 |
| | |||||
* | Exclude subpackages in FlatLayoutPackageFinder | Anderson Bravalheri | 2022-03-05 | 1 | -2/+6 |
| | |||||
* | Add implementation for automatic config discovery | Anderson Bravalheri | 2022-03-05 | 1 | -5/+177 |
| | |||||
* | Refactor finders to share code via common base | Anderson Bravalheri | 2022-03-05 | 1 | -80/+69 |
| | |||||
* | Add module finder | Anderson Bravalheri | 2022-03-05 | 1 | -15/+81 |
| | |||||
* | Add a more careful package finder for flat-layout use case | Anderson Bravalheri | 2022-03-05 | 1 | -0/+67 |
| | |||||
* | Move *PackageFinder to the new 'discovery' module | Anderson Bravalheri | 2022-03-05 | 1 | -0/+89 |
Following up the discussion in #2887 and #2329, it seems that setuptools is moving towards more automatic discovery features. PackageFinder and PEP420PackageFinder are fundamental pieces of this puzzle and grouping together them togheter with the code implementing these new discovery features make a lot of sense. |